CVEvulnerability

CVE-2019-3902

5.9 MEDIUM Published 2019-04-22 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2019-04-22
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.0 ([email protected])
5.1 MEDIUM — CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS 3.0 ([email protected])
5.9 MEDIUM — CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS 2.0 ([email protected])
5.8 MEDIUM — AV:N/AC:M/Au:N/C:N/I:P/A:P
Weaknesses
CWE-22, CWE-59

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.

Affected configurations

• mercurial mercurial (< 4.9) • debian debian linux 8.0 • redhat enterprise linux 7.0

Related

Weakness · CWE (2)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
  • CWE-59 Improper Link Resolution Before File Access weakness

References