GLSA-201206-26 : RPM: Multiple vulnerabilities

high Nessus Plugin ID 59679
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

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-201206-26 (RPM: Multiple vulnerabilities)

Multiple vulnerabilities have been found in RPM:
fsm.c fails to properly strip setuid and setgid bits from executable files during a package upgrade (CVE-2010-2059).
RPM does not properly parse spec files (CVE-2010-2197).
fsm.c fails to properly strip POSIX file capabilities from executable files during a package upgrade or removal (CVE-2010-2198).
fsm.c fails to properly strip POSIX ACLs from executable files during a package upgrade or removal (CVE-2010-2199).
header.c does not properly parse region offsets in package files (CVE-2011-3378).
RPM does not properly sanitize region tags in package headers (CVE-2012-0060).
RPM does not properly sanitize region sizes in package headers (CVE-2012-0061).
RPM does not properly sanitize region offsets in package headers(CVE-2012-0815).
Impact :

A local attacker may be able to gain elevated privileges. Furthermore, a remote attacker could entice a user to open a specially crafted RPM package, possibly resulting in execution of arbitrary code with the privileges of the process or a Denial of Service condition.
Workaround :

There is no known workaround at this time.

Solution

All RPM users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=app-arch/rpm-4.9.1.3'

See Also

https://security.gentoo.org/glsa/201206-26

Plugin Details

Severity: High

ID: 59679

File Name: gentoo_GLSA-201206-26.nasl

Version: 1.9

Type: local

Published: 6/25/2012

Updated: 1/6/2021

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 9.3

Temporal Score: 6.9

Vector: AV:N/AC:M/Au:N/C:C/I:C/A:C

Temporal Vector: E:U/RL:OF/RC:C

Vulnerability Information

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

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

Exploit Ease: No known exploits are available

Patch Publication Date: 6/24/2012

Reference Information

CVE: CVE-2010-2059, CVE-2010-2197, CVE-2010-2198, CVE-2010-2199, CVE-2011-3378, CVE-2012-0060, CVE-2012-0061, CVE-2012-0815

BID: 40512, 49799, 52865

GLSA: 201206-26