GLSA-201206-26 : RPM: Multiple vulnerabilities

This script is Copyright (C) 2012-2014 Tenable Network Security, Inc.


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.

See also :

http://www.gentoo.org/security/en/glsa/glsa-201206-26.xml

Solution :

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

Risk factor :

High / CVSS Base Score : 9.3
(CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C)
CVSS Temporal Score : 6.9
(CVSS2#E:U/RL:OF/RC:ND)
Public Exploit Available : false

Family: Gentoo Local Security Checks

Nessus Plugin ID: 59679 ()

Bugtraq ID: 40512
49799
52865

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