Gentoo Logo

RPM: Multiple vulnerabilities

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 201206-26 / RPM
Release Date June 24, 2012
Latest Revision June 24, 2012: 1
Impact high
Exploitable local, remote
Package Vulnerable versions Unaffected versions Architecture(s)
app-arch/rpm < 4.9.1.3 >= 4.9.1.3 All supported architectures

Related bugreports: #335880, #384967, #410949

Synopsis

Multiple vulnerabilities have been found in RPM, possibly allowing local attackers to gain elevated privileges or remote attackers to execute arbitrary code.

2.  Impact Information

Background

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.

Description

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.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All RPM users should upgrade to the latest version:

Code Listing 3.1: Resolution

  # emerge --sync
  # emerge --ask --oneshot --verbose ">=app-arch/rpm-4.9.1.3"

4.  References



Print

Page updated June 24, 2012

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2014 Gentoo Foundation, Inc. Questions, Comments? Contact us.