CVE-2019-3902: debian debian_linux Path Traversal
CVSS: 5.9v3.0MediumModified
AliasesALPINE-CVE-2019-3902MGASA-2019-0250SUSE-SU-2020:1709-1SUSE-SU-2020:1709-2SUSE-SU-2020:3003-1GHSA-mq66-vcfc-8246PYSEC-2019-188UBUNTU-CVE-2019-3902DEBIAN-CVE-2019-3902DLA-1764-1openSUSE-SU-2020:0869-1openSUSE-SU-2020:0880-1
Published 22-04-2019Last modified 04-08-2024
Vulnerability summary
CVE-2019-3902 is a medium (CVSS 5.9) Path Traversal vulnerability in debian debian_linux. EPSS estimates a 1.43% chance of exploitation in the next 30 days, higher than 72.5% of scored vulnerabilities.
CVSS score
5.9/10
010
Medium · v3.0 (NVD)EPSS score
1.43%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
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 versionsMedium 5.9Preferred score · NVD (NIST)
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:NSources6 sources · 5.1–5.9
- 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
Medium 5.8Preferred score · NVD (NIST)
AV:N/AC:M/Au:N/C:N/I:P/A:PSourcesSingle source
EPSS trend
Probability
1.43%
Chance of exploitation in the next 30 days
Percentile
73%
Versus all other CVEs
30-day change
0.00 pp
From 1.43% on 19-09-2026
19-09-202619-10-2026
EPSS score1.43%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')The 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 Access ('Link Following')The 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
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