Bug 1316896

Summary: rpm: Out-of-bounds heap read triggered by crafted RPM file
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: cbuissar, ctgw, ffesti, security-response-team, slawomir
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=low,public=20160421,reported=20160310,source=researcher,cvss2=4.3/AV:N/AC:M/Au:N/C:N/I:N/A:P,cwe=CWE-125,rhel-5/rpm=notaffected,rhel-6/rpm=wontfix,rhel-7/rpm=wontfix,fedora-all/rpm=affected
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-25 14:31:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 1329123    
Bug Blocks: 1316905    

Description Adam Mariš 2016-03-11 12:29:52 UTC
Out-of-bounds heap read in rpmtdGetNumber triggered by crafted RPM file was found.

Comment 1 Adam Mariš 2016-03-11 12:29:58 UTC
Acknowledgments:

Name: Hanno Boeck

Comment 5 Cedric Buissart 🐶 2016-04-21 09:17:22 UTC
Created rpm tracking bugs for this issue:

Affects: fedora-all [bug 1329123]

Comment 7 Cedric Buissart 🐶 2016-04-25 14:24:29 UTC
Fixed upstream by commit b722cf86 : 
https://github.com/rpm-software-management/rpm/commit/b722cf86

Comment 8 Cedric Buissart 🐶 2016-04-25 14:30:40 UTC
Red Hat Product Security has determined this issue is not planned to be fixed. If a customer is requesting this fix, please attach any customer contact cases to the bug and email secalert@redhat.com to inform us of the customer request. Product Security will re-open issues with significant customer interest provided they are within support scope.

Comment 9 Fedora Update System 2016-04-26 20:52:50 UTC
rpm-4.13.0-0.rc1.13.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2016-05-07 11:53:51 UTC
rpm-4.13.0-0.rc1.27.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2016-05-22 02:20:28 UTC
rpm-4.12.0.1-17.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.

Comment 12 Lamos Ding 2018-09-09 19:25:07 UTC
Well done!
https://pineconellc.github.io/