- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 201206-26
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 Severity: High
    Title: RPM: Multiple vulnerabilities
     Date: June 24, 2012
     Bugs: #335880, #384967, #410949
       ID: 201206-26

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

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

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.

Affected packages
================
    -------------------------------------------------------------------
     Package              /     Vulnerable     /            Unaffected
    -------------------------------------------------------------------
  1  app-arch/rpm                < 4.9.1.3                 >= 4.9.1.3

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.

Workaround
=========
There is no known workaround at this time.

Resolution
=========
All RPM users should upgrade to the latest version:

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

References
=========
[ 1 ] CVE-2010-2059
      http://nvd.nist.gov/nvd.cfm?cvename=CVE-2010-2059
[ 2 ] CVE-2010-2197
      http://nvd.nist.gov/nvd.cfm?cvename=CVE-2010-2197
[ 3 ] CVE-2010-2198
      http://nvd.nist.gov/nvd.cfm?cvename=CVE-2010-2198
[ 4 ] CVE-2010-2199
      http://nvd.nist.gov/nvd.cfm?cvename=CVE-2010-2199
[ 5 ] CVE-2011-3378
      http://nvd.nist.gov/nvd.cfm?cvename=CVE-2011-3378
[ 6 ] CVE-2012-0060
      http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-0060
[ 7 ] CVE-2012-0061
      http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-0061
[ 8 ] CVE-2012-0815
      http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-0815

Availability
===========
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

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

Concerns?
========
Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users' machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
https://bugs.gentoo.org.

License
======
Copyright 2012 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

https://creativecommons.org/licenses/by-sa/2.5/

Gentoo: GLSA-201206-26: RPM: Multiple vulnerabilities

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

Summary

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

Resolution

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

References

[ 1 ] CVE-2010-2059 http://nvd.nist.gov/nvd.cfm?cvename=CVE-2010-2059 [ 2 ] CVE-2010-2197 http://nvd.nist.gov/nvd.cfm?cvename=CVE-2010-2197 [ 3 ] CVE-2010-2198 http://nvd.nist.gov/nvd.cfm?cvename=CVE-2010-2198 [ 4 ] CVE-2010-2199 http://nvd.nist.gov/nvd.cfm?cvename=CVE-2010-2199 [ 5 ] CVE-2011-3378 http://nvd.nist.gov/nvd.cfm?cvename=CVE-2011-3378 [ 6 ] CVE-2012-0060 http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-0060 [ 7 ] CVE-2012-0061 http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-0061 [ 8 ] CVE-2012-0815 http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-0815

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: https://security.gentoo.org/glsa/201206-26

Concerns

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users' machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

Severity
Severity: High
Title: RPM: Multiple vulnerabilities
Date: June 24, 2012
Bugs: #335880, #384967, #410949
ID: 201206-26

Synopsis

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

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.

Affected Packages

------------------------------------------------------------------- Package / Vulnerable / Unaffected ------------------------------------------------------------------- 1 app-arch/rpm < 4.9.1.3 >= 4.9.1.3

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.

Related News