CVE-2019-3902

MEDIUM

Mercurial < 4.9 - Path Traversal via Symlinks and Subrepositories

Title source: llm
STIX 2.1

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.

References (5)

Core 5
Core References
Issue Tracking, Vendor Advisory x_refsource_confirm
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3902
Third Party Advisory mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2019/04/msg00024.html
Vendor Advisory vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/4086-1/
Mailing List mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2020/07/msg00032.html

Scores

CVSS v3 5.1
EPSS 0.0053
EPSS Percentile 67.5%
Attack Vector LOCAL
CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

Details

CWE
CWE-22 CWE-59
Status published
Products (4)
debian/debian_linux 8.0
mercurial/mercurial < 4.9
pypi/mercurial 0 - 4.9PyPI
redhat/enterprise_linux 7.0
Published Apr 22, 2019
Tracked Since Feb 18, 2026