synced 8 MIN AGO
01 Record

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.

MediumPUBLISHEDCNA: redhat
CNA base score5.1 CVSS v3.xCVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

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
  • CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')Base
  • CWE-59Improper Link Resolution Before File Access ('Link Following')Base
Data version
5.1
Document digest
c974723727b5839e6e8aab0c53422bd6c55154becd85c052d4b910301135b9a6

05 Affected products

VendorProductVersionsPlatforms
The Mercurial Projectmercurialbefore 4.9—

06 References

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+esm1
    Available 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+esm2
    Available 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.