CVE-2021-21289
Command Injection Vulnerability in Mechanize
02 Description
Command Injection Vulnerability in Mechanize
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 3.54% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 89.2% of scored records. A rank, not a probability.
- NVD base score
- 8.3 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2021-02-02 18:50Z5 YR AGO
- Last updated
- 2024-08-03 18:09Z2 YR AGO
- Reserved
- 2020-12-22
- Assigning CNA
- GitHub_M
- Record state
- PUBLISHED
- Severity
- High (CVSS 7.4)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N
- Weaknesses
- CWE-78Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')Base
- Data version
- 5.1
- Document digest
- f468c896fc64310bd250b8a7ce7726826c3a23a4e98999ed0d2156392a589917
05 Affected products
06 References
- github.comhttps://github.com/sparklemotion/mechanize/security/advisories/GHSA-qrqm-fpv6-6r8g
- rubygems.orghttps://rubygems.org/gems/mechanize/
- github.comhttps://github.com/sparklemotion/mechanize/releases/tag/v2.7.7
- github.comhttps://github.com/sparklemotion/mechanize/commit/66a6a1bfa653a5f13274a396a5e5441238656aa0
- lists.fedoraproject.orgFEDORA-2021-24fdc228e4https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LBVVJUL4P4KCJH4IQTHFZ4ATXY7XXZPV/
- lists.fedoraproject.orgFEDORA-2021-db8ebc547ehttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YNFZ7ROYS6V4J5L5PRAJUG2AWC7VXR2V/
- lists.debian.org[debian-lts-announce] 20210216 [SECURITY] [DLA 2561-1] ruby-mechanize security updatehttps://lists.debian.org/debian-lts-announce/2021/02/msg00021.html
- security.gentoo.orgGLSA-202107-17https://security.gentoo.org/glsa/202107-17
07 Fixed in
Debian 12
- ruby-mechanize Fixed in 2.7.7-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- ruby-mechanize Fixed in 2.7.7-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- ruby-mechanize Fixed in 2.7.7-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- ruby-mechanize No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- ruby-mechanize No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- ruby-mechanize No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- ruby-mechanize No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.