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.
02 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.
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 1.36% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 71.6% of scored records. A rank, not a probability.
- NVD base score
- 5.9 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2019-04-22 15:29Z7 YR AGO
- Last updated
- 2024-08-04 19:26Z2 YR AGO
- Reserved
- 2019-01-03
- Assigning CNA
- redhat
- Record state
- PUBLISHED
- Severity
- Medium (CVSS 5.1)
- CNA CVSS vector
- CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
- Weaknesses
- Data version
- 5.1
- Document digest
- c974723727b5839e6e8aab0c53422bd6c55154becd85c052d4b910301135b9a6
05 Affected products
06 References
- bugzilla.redhat.comhttps://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3902
- lists.debian.org[debian-lts-announce] 20190425 [SECURITY] [DLA 1764-1] mercurial security updatehttps://lists.debian.org/debian-lts-announce/2019/04/msg00024.html
- www.mercurial-scm.orghttps://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.9_.282019-02-01.29
- usn.ubuntu.comUSN-4086-1https://usn.ubuntu.com/4086-1/
- lists.debian.org[debian-lts-announce] 20200731 [SECURITY] [DLA 2293-1] mercurial security updatehttps://lists.debian.org/debian-lts-announce/2020/07/msg00032.html
07 Fixed in
Debian 12
- mercurial Fixed in 4.9-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- mercurial Fixed in 4.9-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- mercurial Fixed in 4.9-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- mercurial Fixed in 4.5.3-1ubuntu2.2
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- mercurial Fixed in 2.8.2-1ubuntu1.4+esm1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- mercurial Fixed in 3.7.3-1ubuntu1.2+esm2Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.