CVE-2019-3902: debian debian_linux
Vulnerability summary
CVE-2019-3902 is a medium (CVSS 5.9) vulnerability in debian debian_linux. EPSS estimates a 1.36% chance of exploitation in the next 30 days, higher than 72.7% of scored vulnerabilities.
Not severe (CVSS 5.1, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 4 · Related 3Timeline
- 22-04-2019PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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 metrics
7 scores · 6 sources · 2 versions- CVE.orgCNA5.1MediumCVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:NDiffers
- OSV · AlpineEcosystem advisory · calculated5.9MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
- OSV · PypiEcosystem advisory · calculated5.9MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
- OSV · UbuntuEcosystem advisory · calculated5.1MediumCVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:NDiffers
- OSV · DebianEcosystem advisory · calculated5.9MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS trend
Probability
1.36%
Chance of exploitation in the next 30 days
Percentile
73%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.37% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-22Improper Limitation of a Pathname to a Restricted DirectoryThe product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
- CWE-59Improper Link Resolution Before File AccessThe product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
Affected systems
Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Suse3 products
- mercurial&distro=SUSE Linux Enterprise Module for Python 2 15 SP1< 4.5.2-3.9.44
- mercurial&distro=SUSE Linux Enterprise Module for Python 2 15 SP2< 4.5.2-3.9.44
- mercurial&distro=SUSE Linux Enterprise Software Development Kit 12 SP5< 2.8.2-15.18.4
Debian2 products
- mercurial< 4.9-1 | < 3.1.2-2+deb8u7
- debian_linuxEOL8.0
Mageia2 products
- mercurial< 4.9.1-1.mga6
- mercurial< 4.9.1-1.mga7
Opensuse2 products
- mercurial&distro=openSUSE Leap 15.1< 4.5.2-lp151.6.3.1
- mercurial&distro=openSUSE Leap 15.2< 4.5.2-lp152.7.3.1
Alpine1 product
- mercurial< 4.9-r0 | < 4.5.2-r1 | < 4.6.1-r1
Mercurial1 product
- mercurial< 4.9
PyPI1 product
- mercurial< 4.9
Redhat1 product
- enterprise_linuxEOL7.0
The mercurial project1 product
- mercurial< 4.9
Ubuntu1 product
- mercurial< 2.8.2-1ubuntu1.4+esm1 | < 3.7.3-1ubuntu1.2+esm2 | < 4.5.3-1ubuntu2.2
10 vendors · 15 products
References
25 links- bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3902X Refsource CONFIRMWEBREPORTIssue TrackingVendor Advisory
- lists.debian.org/debian-lts-announce/2019/04/msg00024.htmlMailing ListX Refsource MLISTWEBThird Party Advisory
Show all 25 references
- lists.opensuse.org/archives/…Advisory
- lists.opensuse.org/archives/…Advisory