Executive Summary



This Alert is flagged as TOP 25 Common Weakness Enumeration from CWE/SANS. For more information, you can read this.
Informations
Name CVE-2021-21289 First vendor Publication 2021-02-02
Vendor Cve Last vendor Modification 2023-11-07

Security-Database Scoring CVSS v3

Cvss vector : CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
Overall CVSS Score 8.3
Base Score 8.3 Environmental Score 8.3
impact SubScore 6 Temporal Score 8.3
Exploitabality Sub Score 1.6
 
Attack Vector Network Attack Complexity High
Privileges Required None User Interaction Required
Scope Changed Confidentiality Impact High
Integrity Impact High Availability Impact High
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:H/Au:N/C:C/I:C/A:C)
Cvss Base Score 7.6 Attack Range Network
Cvss Impact Score 10 Attack Complexity High
Cvss Expoit Score 4.9 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

Mechanize is an open-source ruby library that makes automated web interaction easy. In Mechanize from version 2.0.0 and before version 2.7.7 there is a command injection vulnerability. Affected versions of mechanize allow for OS commands to be injected using several classes' methods which implicitly use Ruby's Kernel.open method. Exploitation is possible only if untrusted input is used as a local filename and passed to any of these calls: Mechanize::CookieJar#load, Mechanize::CookieJar#save_as, Mechanize#download, Mechanize::Download#save, Mechanize::File#save, and Mechanize::FileResponse#read_body. This is fixed in version 2.7.7.

Original Source

Url : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21289

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-78 Improper Sanitization of Special Elements used in an OS Command ('OS Command Injection') (CWE/SANS Top 25)

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 2
Os 1
Os 2

Sources (Detail)

https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedora...
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedora...
Source Url
CONFIRM https://github.com/sparklemotion/mechanize/security/advisories/GHSA-qrqm-fpv6...
GENTOO https://security.gentoo.org/glsa/202107-17
MISC https://github.com/sparklemotion/mechanize/commit/66a6a1bfa653a5f13274a396a5e...
https://github.com/sparklemotion/mechanize/releases/tag/v2.7.7
https://rubygems.org/gems/mechanize/
MLIST https://lists.debian.org/debian-lts-announce/2021/02/msg00021.html

Alert History

If you want to see full details history, please login or register.
0
1
2
3
4
5
6
7
8
9
10
11
12
13
Date Informations
2023-11-07 21:35:57
  • Multiple Updates
2023-01-25 12:57:41
  • Multiple Updates
2022-04-26 21:23:31
  • Multiple Updates
2021-08-05 01:41:56
  • Multiple Updates
2021-07-08 13:23:02
  • Multiple Updates
2021-05-04 14:07:40
  • Multiple Updates
2021-04-22 03:12:22
  • Multiple Updates
2021-02-19 21:23:29
  • Multiple Updates
2021-02-17 05:22:58
  • Multiple Updates
2021-02-16 17:22:56
  • Multiple Updates
2021-02-11 21:23:41
  • Multiple Updates
2021-02-08 21:23:29
  • Multiple Updates
2021-02-03 05:23:02
  • Multiple Updates
2021-02-03 00:23:05
  • First insertion