RPM: Multiple vulnerabilities
Gentoo Linux Security Advisory
||GLSA 201206-26 / RPM
||June 24, 2012
||June 24, 2012: 1
All supported architectures
#335880, #384967, #410949
Multiple vulnerabilities have been found in RPM, possibly allowing
local attackers to gain elevated privileges or remote attackers to execute
The Red Hat Package Manager (RPM) is a command line driven package
management system capable of installing, uninstalling, verifying,
querying, and updating computer software packages.
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
- RPM does not properly sanitize region tags in package headers
- RPM does not properly sanitize region sizes in package headers
- RPM does not properly sanitize region offsets in package
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.
There is no known workaround at this time.
All RPM users should upgrade to the latest version:
Code Listing 3.1: Resolution
# emerge --sync
# emerge --ask --oneshot --verbose ">=app-arch/rpm-220.127.116.11"