Improper Input Validation Affecting mercurial package, versions <4.0-1+deb9u2
Snyk CVSS
Attack Complexity
Low
Integrity
High
Threat Intelligence
EPSS
0.17% (55th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-DEBIAN9-MERCURIAL-311087
- published 11 Jul 2018
- disclosed 6 Jul 2018
Introduced: 6 Jul 2018
CVE-2018-13346 Open this link in a new tabHow to fix?
Upgrade Debian:9
mercurial
to version 4.0-1+deb9u2 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream mercurial
package and not the mercurial
package as distributed by Debian
.
See How to fix?
for Debian:9
relevant fixed versions and status.
The mpatch_apply function in mpatch.c in Mercurial before 4.6.1 incorrectly proceeds in cases where the fragment start is past the end of the original data, aka OVE-20180430-0004.
References
- https://security-tracker.debian.org/tracker/CVE-2018-13346
- https://www.mercurial-scm.org/repo/hg/rev/faa924469635
- https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.6.1_.282018-06-06.29
- https://lists.debian.org/debian-lts-announce/2020/07/msg00032.html
- https://access.redhat.com/errata/RHSA-2019:2276
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2018-13346