Bug 1594094 - mercurial: Integer overflow in mpatch.c:mpatch_decode()
Summary: mercurial: Integer overflow in mpatch.c:mpatch_decode()
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1594088 1594089
Blocks: 1594086
TreeView+ depends on / blocked
 
Reported: 2018-06-22 04:55 UTC by Sam Fowler
Modified: 2019-09-29 14:42 UTC (History)
6 users (show)

Fixed In Version: mercurial 4.6.1
Clone Of:
Environment:
Last Closed: 2019-06-10 10:29:52 UTC
Embargoed:


Attachments (Terms of Use)

Description Sam Fowler 2018-06-22 04:55:08 UTC
Mercurial before version 4.6.1 is vulnerable to an integer overflow in mpatch.c:mpatch_decode().


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/59837a16896d

Comment 1 Doran Moppert 2018-07-27 05:05:18 UTC
Similar to CVE-2018-13348, the code in mercurial-2.6.2 correctly guards against this issue.

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

Affects: fedora-all [bug 1594088]


Note You need to log in before you can comment on or make changes to this bug.