Mandriva Linux Security Advisory 2015-056 - It was found that RPM wrote file contents to the target installation directory under a temporary name, and verified its cryptographic signature only after the temporary file has been written completely. Under certain conditions, the system interprets the unverified temporary file contents and extracts commands from it. This could allow an attacker to modify signed RPM files in such a way that they would execute code chosen by the attacker during package installation. It was found that RPM could encounter an integer overflow, leading to a stack-based buffer overflow, while parsing a crafted CPIO header in the payload section of an RPM file. This could allow an attacker to modify signed RPM files in such a way that they would execute code chosen by the attacker during package installation.
7e87068c24ee66145d63ce115342713c291da259fa85a94842f8e9f9641c874b
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
_______________________________________________________________________
Mandriva Linux Security Advisory MDVSA-2015:056
http://www.mandriva.com/en/support/security/
_______________________________________________________________________
Package : rpm
Date : March 9, 2015
Affected: Business Server 2.0
_______________________________________________________________________
Problem Description:
Updated rpm packages fix security vulnerabilities:
It was found that RPM wrote file contents to the target
installation directory under a temporary name, and verified its
cryptographic signature only after the temporary file has been
written completely. Under certain conditions, the system interprets
the unverified temporary file contents and extracts commands from
it. This could allow an attacker to modify signed RPM files in such
a way that they would execute code chosen by the attacker during
package installation (CVE-2013-6435).
It was found that RPM could encounter an integer overflow, leading to
a stack-based buffer overflow, while parsing a crafted CPIO header
in the payload section of an RPM file. This could allow an attacker
to modify signed RPM files in such a way that they would execute code
chosen by the attacker during package installation (CVE-2014-8118).
_______________________________________________________________________
References:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-6435
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-8118
http://advisories.mageia.org/MGASA-2014-0529.html
_______________________________________________________________________
Updated Packages:
Mandriva Business Server 2/X86_64:
b3532b12d97b24e3768e61002e3fef1b mbs2/x86_64/lib64rpm3-4.11.1-14.1.mbs2.x86_64.rpm
3be94a62bfebc9528a4426edc68a7818 mbs2/x86_64/lib64rpmbuild3-4.11.1-14.1.mbs2.x86_64.rpm
6251edea55f023123be3ecc0de1e850c mbs2/x86_64/lib64rpm-devel-4.11.1-14.1.mbs2.x86_64.rpm
6c0bbf0a03eff7b2aa89b92e6f0566db mbs2/x86_64/lib64rpmsign3-4.11.1-14.1.mbs2.x86_64.rpm
72bac9e8aa766cb0921206d2012d876d mbs2/x86_64/python-rpm-4.11.1-14.1.mbs2.x86_64.rpm
2eb7cd5c118ed26adc7c3df2fc64aae2 mbs2/x86_64/rpm-4.11.1-14.1.mbs2.x86_64.rpm
011b71f9fa14491755bfb259cd2cefb8 mbs2/x86_64/rpm-build-4.11.1-14.1.mbs2.x86_64.rpm
fcf427b54799cf466da1f3d2a27b8860 mbs2/x86_64/rpm-sign-4.11.1-14.1.mbs2.x86_64.rpm
fea4413468a10cb54189b917e134846d mbs2/SRPMS/rpm-4.11.1-14.1.mbs2.src.rpm
_______________________________________________________________________
To upgrade automatically use MandrivaUpdate or urpmi. The verification
of md5 checksums and GPG signatures is performed automatically for you.
All packages are signed by Mandriva for security. You can obtain the
GPG public key of the Mandriva Security Team by executing:
gpg --recv-keys --keyserver pgp.mit.edu 0x22458A98
You can view other update advisories for Mandriva Linux at:
http://www.mandriva.com/en/support/security/advisories/
If you want to report vulnerabilities, please contact
security_(at)_mandriva.com
_______________________________________________________________________
Type Bits/KeyID Date User ID
pub 1024D/22458A98 2000-07-10 Mandriva Security Team
<security*mandriva.com>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iD8DBQFU/ZVBmqjQ0CJFipgRAlt7AKCM3ghEr1C7lL4icSOqcWRFrQOdpQCgmJfx
RVZ8N6gSORWwG1rSn8FLlkg=
=g1pf
-----END PGP SIGNATURE-----