Path Traversal in Mercurial
CVE-2019-3902
A flaw was found in Mercurial before 4.9. It was possible to use symlinks and subrepositories to defeat Mercurial's path-checking logic and write files outside a repository.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.1 (Medium). Vector: CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS 0.014, 72.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Mercurial
- The Mercurial Project — versions before 4.9
- Debian Linux — versions 8.0
- Red Hat Enterprise Linux — versions 7.0
Weakness classification (CWE)
References
- bugzilla.redhat.com/show_bug.cgi (Issue Tracking, Vendor Advisory)
- [debian-lts-announce] 20190425 [SECURITY] [DLA 1764-1] mercurial security update (mailing-list, Third Party Advisory)
- www.mercurial-scm.org/wiki/WhatsNew (Third Party Advisory)
- USN-4086-1 (vendor-advisory)
- [debian-lts-announce] 20200731 [SECURITY] [DLA 2293-1] mercurial security update (mailing-list)