GLSA-202107-17 : Mechanize: Command injection

high Nessus Plugin ID 157015

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-202107-17 (Mechanize: Command injection)

Mechanize does not neutralize filename input and could allow arbitrary code execution if an attacker can control filenames used by Mechanize.
Impact :

Please review the referenced CVE identifiers for details.
Workaround :

There is no known workaround at this time.

Solution

All Mechanize users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=dev-ruby/mechanize-2.7.7'

See Also

https://security.gentoo.org/glsa/202107-17

Plugin Details

Severity: High

ID: 157015

File Name: gentoo_GLSA-202107-17.nasl

Version: 1.4

Type: local

Published: 1/24/2022

Updated: 12/21/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.3

CVSS v2

Risk Factor: High

Base Score: 7.6

Temporal Score: 5.6

Vector: CVSS2#AV:N/AC:H/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2021-21289

CVSS v3

Risk Factor: High

Base Score: 8.3

Temporal Score: 7.2

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:gentoo:linux, p-cpe:/a:gentoo:linux:mechanize

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Ease: No known exploits are available

Patch Publication Date: 7/8/2021

Vulnerability Publication Date: 2/2/2021

Reference Information

CVE: CVE-2021-21289

GLSA: 202107-17