Out-of-bounds read in Mercurial - CVE-2018-17983

 

Out-of-bounds read in Mercurial - CVE-2018-17983

Published: October 9, 2018 / Updated: October 11, 2018


Vulnerability identifier: #VU15317
CSH Severity: Low
CVSS v4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-17983
CWE-ID: CWE-125
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local attacker to obtain potentially sensitive information or cause DoS condition on the target system.

The vulnerability exists in the cext/manifest.c file due to improper parsing of manifest entries. A remote attacker can send a manifest entry that submits malicious input, trigger an out-of-bounds read condition to access sensitive information or cause a denial of service (DoS) condition.


Affected software

Mercurial
cflinuxfs3
Opensuse
Ubuntu
mercurial (Ubuntu package)
mercurial-common (Ubuntu package)

How to mitigate CVE-2018-17983

Update to version 4.7.2.

Mercurial - update to 4.7.2
cflinuxfs3 - update to 0.261.0
mercurial (Ubuntu package) - update to 4.5.3-1ubuntu2.2
mercurial-common (Ubuntu package) - update to 4.5.3-1ubuntu2.2

External References

Related Security Bulletins