Bug 1594092

Summary: mercurial: Integer overflows in mpatch.c:discard()
Product: [Other] Security Response Reporter: Sam Fowler <sfowler>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: jlaska, katzj, mads, ndbecker2, pcahyna
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: mercurial 4.6.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-06 19:19:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1594088, 1594089, 1613129    
Bug Blocks: 1594086    

Description Sam Fowler 2018-06-22 04:53:22 UTC
Mercurial before version 4.6.1 is vulnerable undefined behaviour due to integer overflows in mpatch.c:discard().


Upstream Changelog:

https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.6.1_.282018-06-06.29


Upstream Patch:

https://www.mercurial-scm.org/repo/hg/rev/7f22ef3c0ee7

Comment 1 Doran Moppert 2018-08-07 05:09:13 UTC
Created mercurial tracking bugs for this issue:

Affects: fedora-all [bug 1594088]