Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Mercurial | Mercurial | < 4.9 |
| Debian | Debian Linux | 8.0 |
| Redhat | Enterprise Linux | 7.0 |
Related Weaknesses (CWE)
References
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3902Issue TrackingVendor Advisory
- https://lists.debian.org/debian-lts-announce/2019/04/msg00024.htmlThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/07/msg00032.html
- https://usn.ubuntu.com/4086-1/
- https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.9_.282019-02-01.29Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3902Issue TrackingVendor Advisory
- https://lists.debian.org/debian-lts-announce/2019/04/msg00024.htmlThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/07/msg00032.html
- https://usn.ubuntu.com/4086-1/
- https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.9_.282019-02-01.29Third Party Advisory
FAQ
What is CVE-2019-3902?
CVE-2019-3902 is a vulnerability with a CVSS score of 5.1 (MEDIUM). 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.
How severe is CVE-2019-3902?
CVE-2019-3902 has been rated MEDIUM with a CVSS base score of 5.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2019-3902?
Check the references section above for vendor advisories and patch information. Affected products include: Mercurial Mercurial, Debian Debian Linux, Redhat Enterprise Linux.