GLSA-201206-26 : RPM: Multiple vulnerabilities

High Nessus Plugin ID 59679

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.7

Type: local

Published: 2012/06/25

Updated: 2018/07/11

Dependencies: 12634

Risk Information

Risk Factor: High

CVSS v2.0

Base Score: 9.3

Temporal Score: 6.9

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

Temporal Vector: CVSS2#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 Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2012/06/24

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