CVE-2014-8118
published 2014-12-16CVE-2014-8118: Integer overflow in RPM 4.12 and earlier allows remote attackers to execute arbitrary code via a crafted CPIO header in the payload section of an RPM file…
PriorityP351critical10CVSS 2.0
AVNACLAuNCCICAC
EPSS
7.61%
93.9th percentile
Integer overflow in RPM 4.12 and earlier allows remote attackers to execute arbitrary code via a crafted CPIO header in the payload section of an RPM file, which triggers a stack-based buffer overflow.
Affected
108 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | rpm | < rpm 4.11.3-1.1 (bookworm) | rpm 4.11.3-1.1 (bookworm) |
| rpm | rpm | <= 4.12.0 | — |
| rpm | rpm | — | — |
| rpm | rpm | — | — |
| rpm | rpm | — | — |
| rpm | rpm | — | — |
| rpm | rpm | — | — |
| rpm | rpm | — | — |
| rpm | rpm | — | — |
| rpm | rpm | — | — |
| rpm | rpm | — | — |
| rpm | rpm | — | — |
| rpm | rpm | — | — |
| rpm | rpm | — | — |
| rpm | rpm | — | — |
| rpm | rpm | — | — |
| rpm | rpm | — | — |
| rpm | rpm | — | — |
| rpm | rpm | — | — |
| rpm | rpm | — | — |
| rpm | rpm | — | — |
| rpm | rpm | — | — |
| rpm | rpm | — | — |
| rpm | rpm | — | — |
| rpm | rpm | — | — |
CVSS provenance
nvdv2.010.0CRITICALAV:N/AC:L/Au:N/C:C/I:C/A:C
osv10.0CRITICAL
vendor_debian10.0CRITICAL
vendor_redhat10.0CRITICAL
vendor_ubuntu7.6HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-wj3v-j872-6xqx: Integer overflow in RPM 4
ghsa_unreviewed·2022-05-14
CVE-2014-8118 [HIGH] GHSA-wj3v-j872-6xqx: Integer overflow in RPM 4
Integer overflow in RPM 4.12 and earlier allows remote attackers to execute arbitrary code via a crafted CPIO header in the payload section of an RPM file, which triggers a stack-based buffer overflow.
OSV
rpm vulnerabilities
osv·2015-01-19·CVSS 7.6
CVE-2013-6435 [HIGH] rpm vulnerabilities
rpm vulnerabilities
Florian Weimer discovered that RPM incorrectly handled temporary files. A
local attacker could use this issue to execute arbitrary code.
(CVE-2013-6435)
Florian Weimer discovered that RPM incorrectly handled certain CPIO
headers. If a user or automated system were tricked into installing a
malicious package file, a remote attacker could use this issue to cause RPM
to crash, resulting in a denial of service, or possibly execute arbitrary
code. (CVE-2014-8118)
OSV
CVE-2014-8118: Integer overflow in RPM 4
osv·2014-12-16·CVSS 10.0
CVE-2014-8118 [CRITICAL] CVE-2014-8118: Integer overflow in RPM 4
Integer overflow in RPM 4.12 and earlier allows remote attackers to execute arbitrary code via a crafted CPIO header in the payload section of an RPM file, which triggers a stack-based buffer overflow.
Ubuntu
RPM vulnerabilities
vendor_ubuntu·2015-01-19·CVSS 7.6
CVE-2013-6435 [HIGH] RPM vulnerabilities
Title: RPM vulnerabilities
Summary: Several security issues were fixed in RPM.
Florian Weimer discovered that RPM incorrectly handled temporary files. A
local attacker could use this issue to execute arbitrary code.
(CVE-2013-6435)
Florian Weimer discovered that RPM incorrectly handled certain CPIO
headers. If a user or automated system were tricked into installing a
malicious package file, a remote attacker could use this issue to cause RPM
to crash, resulting in a denial of service, or possibly execute arbitrary
code. (CVE-2014-8118)
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
rpm: integer overflow and stack overflow in CPIO header parsing
vendor_redhat·2014-12-09·CVSS 10.0
CVE-2014-8118 [CRITICAL] CWE-190 rpm: integer overflow and stack overflow in CPIO header parsing
rpm: integer overflow and stack overflow in CPIO header parsing
Integer overflow in RPM 4.12 and earlier allows remote attackers to execute arbitrary code via a crafted CPIO header in the payload section of an RPM file, which triggers a stack-based buffer overflow.
Statement: This issue does not affect the version of rpm package as shipped with Red Hat Enterprise Linux 5 and 6.
Package: rpm (Red Hat Enterprise Linux 4) - Not affected
Package: rpm (Red Hat Enterprise Linux 5) - Not affected
Package: rpm (Red Hat Enterprise Linux 6) - Not affected
Package: rpm (Red Hat Enterprise Linux Extended Update Support 5.6) - Not affected
Package: rpm (Red Hat Enterprise Linux Extended Update Support 5.9) - Not affected
Package: rpm (Red Hat Enterprise Linux Extended Update Support 6.2) - Not
Debian
CVE-2014-8118: rpm - Integer overflow in RPM 4.12 and earlier allows remote attackers to execute arbi...
vendor_debian·2014·CVSS 10.0
CVE-2014-8118 [CRITICAL] CVE-2014-8118: rpm - Integer overflow in RPM 4.12 and earlier allows remote attackers to execute arbi...
Integer overflow in RPM 4.12 and earlier allows remote attackers to execute arbitrary code via a crafted CPIO header in the payload section of an RPM file, which triggers a stack-based buffer overflow.
Scope: local
bookworm: resolved (fixed in 4.11.3-1.1)
bullseye: resolved (fixed in 4.11.3-1.1)
forky: resolved (fixed in 4.11.3-1.1)
sid: resolved (fixed in 4.11.3-1.1)
trixie: resolved (fixed in 4.11.3-1.1)
No detection rules found.
Bugzilla
CVE-2014-8118 CVE-2013-6435 rpm: various flaws [fedora-all]
bugzilla·2014-12-09·CVSS 7.6
CVE-2014-8118 [HIGH] CVE-2014-8118 CVE-2013-6435 rpm: various flaws [fedora-all]
CVE-2014-8118 CVE-2013-6435 rpm: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of Fedora. While only
Bugzilla
CVE-2014-8118 rpm: integer overflow and stack overflow in CPIO header parsing
bugzilla·2014-11-27·CVSS 10.0
CVE-2014-8118 [CRITICAL] CVE-2014-8118 rpm: integer overflow and stack overflow in CPIO header parsing
CVE-2014-8118 rpm: integer overflow and stack overflow in CPIO header parsing
IssueDescription:
It was found that RPM could encounter an integer overflow, leading to a stack-based 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.
Acknowledgements:
This issue was discovered by Florian Weimer of Red Hat Product Security.
Discussion:
Created attachment 962159
rpm-4.12-CVE-2014-8118.patch
Proposed patch to limit the length of the file name to a reasonable value.
---
Created rpm tracking bugs for this issue:
Affects: fedora-all [bug 1172125]
---
This issue has been addressed in the following products
http://advisories.mageia.org/MGASA-2014-0529.htmlhttp://rhn.redhat.com/errata/RHSA-2014-1976.htmlhttp://www.debian.org/security/2015/dsa-3129http://www.mandriva.com/security/advisories?name=MDVSA-2014:251http://www.mandriva.com/security/advisories?name=MDVSA-2015:056https://security.gentoo.org/glsa/201811-22http://advisories.mageia.org/MGASA-2014-0529.htmlhttp://rhn.redhat.com/errata/RHSA-2014-1976.htmlhttp://www.debian.org/security/2015/dsa-3129http://www.mandriva.com/security/advisories?name=MDVSA-2014:251http://www.mandriva.com/security/advisories?name=MDVSA-2015:056https://security.gentoo.org/glsa/201811-22
2014-12-16
Published