CVE-2021-21289 is a command injection vulnerability affecting Mechanize versions 2.0.0 through 2.7.6, an open-source Ruby library for automated web interaction. This flaw allows for OS command injection if untrusted input is used as a local filename and passed to specific methods like Mechanize::CookieJar#load or Mechanize#download. With a CVSS score of 8.3 (HIGH), exploitation requires user interaction and high attack complexity, but can lead to complete compromise of confidentiality, integrity, and availability. There is no evidence of active exploitation, public exploit code, or significant community discussion, and it is not listed in CISA's KEV catalog.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
>= 2.0, < 2.7.7CPE matchmatch criteria | cpe:2.3:a:mechanize_project:mechanize:*:*:*:*:*:ruby:*:* | ||
32CPE matchmatch criteria | cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* | ||
33CPE matchmatch criteria | cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* | ||
9.0CPE matchmatch criteria | cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
CVSS version used by this source: 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N
The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.4 Bluesky, 0.2 Mastodon, and 0.1 GitHub mentions.
No media coverage found for this CVE.
The average CVE in this peer group has 0.6 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.