GLSA-202401-05 : RDoc: Command Injection

high Nessus Plugin ID 187656

Description

The remote host is affected by the vulnerability described in GLSA-202401-05 (RDoc: Command Injection)

- In RDoc 3.11 through 6.x before 6.3.1, as distributed with Ruby through 3.0.1, it is possible to execute arbitrary code via | and tags in a filename. (CVE-2021-31799)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

All RDoc users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose >=dev-ruby/rdoc-6.3.2

See Also

https://security.gentoo.org/glsa/202401-05

https://bugs.gentoo.org/show_bug.cgi?id=801301

Plugin Details

Severity: High

ID: 187656

File Name: gentoo_GLSA-202401-05.nasl

Version: 1.0

Type: local

Published: 1/5/2024

Updated: 1/5/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 4.4

Temporal Score: 3.3

Vector: CVSS2#AV:L/AC:M/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2021-31799

CVSS v3

Risk Factor: High

Base Score: 7

Temporal Score: 6.1

Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/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:rdoc

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

Exploit Ease: No known exploits are available

Patch Publication Date: 1/5/2024

Vulnerability Publication Date: 7/22/2021

Reference Information

CVE: CVE-2021-31799