A numeric range comparison without minimum check flaw was found within headerVerifyInfo function of RPM library. This function is used by rpm utility to verify the values of header structures (i.e. signature and header sections) of a RPM file. An attacker could create a specially-crafted RPM file that, when read, could cause RPM to crash or, potentially, execute arbitrary code.
Created attachment 566526 [details]
RPM 4.8.x patch
Created attachment 566527 [details]
RPM 4.4.x patch
Lifting embargo. Committed upstream now in:
Created rpm tracking bugs for this issue
Affects: fedora-all [bug 809487]
Fixes included in upstream version 188.8.131.52:
This issue has been addressed in following products:
Red Hat Enterprise Linux 3 Extended Lifecycle Support
Red Hat Enterprise Linux 5.3 Long Life
Red Hat Enterprise Linux 5.6 EUS - Server Only
Red Hat Enterprise Linux 5
Red Hat Enterprise Linux 6.0 EUS - Server Only
Red Hat Enterprise Linux 6.1 EUS - Server Only
Red Hat Enterprise Linux 6
Red Hat Enterprise Linux 4 Extended Lifecycle Support
Via RHSA-2012:0451 https://rhn.redhat.com/errata/RHSA-2012-0451.html
rpm-184.108.40.206-1.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.
rpm-220.127.116.11-1.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
rpm-18.104.22.168-1.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
This issue was discovered by Ramon de C Valle of the Red Hat Product Security Team.