Skip to main content

Mercurial CVE-2019-3902

MEDIUM
Path Traversal (CWE-22)
2019-04-22 secalert@redhat.com
5.9
CVSS 3.0 · NVD
Share

Severity by source

NVD PRIMARY
5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

Lifecycle Timeline

1
CVE Published
Apr 22, 2019 - 16:29 nvd
MEDIUM 5.9

DescriptionNVD

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.

AnalysisAI

A flaw was found in Mercurial before 4.9. Rated medium severity (CVSS 5.9), this vulnerability is remotely exploitable, no authentication required. No vendor patch available.

Technical ContextAI

This vulnerability is classified as Path Traversal (CWE-22), which allows attackers to access files and directories outside the intended path. 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 products include: Mercurial, Debian Debian Linux, Redhat Enterprise Linux. Version information: before 4.9..

RemediationAI

No vendor patch is available at time of analysis. Monitor vendor advisories for updates. Validate and canonicalize file paths. Use chroot or sandboxing. Reject input containing path separators or '../' sequences.

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2017-17458 CRITICAL
9.8 Dec 07

In Mercurial before 4.4.1, it is possible that a specially malformed repository can cause Git subrepositories to run arb

CVE-2014-9462 HIGH POC
7.5 Mar 31

The _validaterepo function in sshpeer in Mercurial before 3.2.4 allows remote attackers to execute arbitrary commands vi

CVE-2017-1000116 CRITICAL
9.8 Oct 05

Mercurial prior to 4.3 did not adequately sanitize hostnames passed to ssh, leading to possible shell-injection attacks.

CVE-2016-3630 HIGH
8.8 Apr 13

The binary delta decoder in Mercurial before 3.7.3 allows remote attackers to execute arbitrary code via a (1) clone, (2

CVE-2016-3068 HIGH
8.8 Apr 13

Mercurial before 3.7.3 allows remote attackers to execute arbitrary code via a crafted git ext:: URL when cloning a subr

CVE-2018-13347 CRITICAL
9.8 Jul 06

mpatch.c in Mercurial before 4.6.1 mishandles integer addition and subtraction, aka OVE-20180430-0002. Rated critical se

CVE-2016-3069 HIGH
8.8 Apr 13

Mercurial before 3.7.3 allows remote attackers to execute arbitrary code via a crafted name when converting a Git reposi

CVE-2018-17983 CRITICAL
9.1 Oct 04

cext/manifest.c in Mercurial before 4.7.2 has an out-of-bounds read during parsing of a malformed manifest entry. Rated

CVE-2018-1000132 CRITICAL
9.1 Mar 14

Mercurial version 4.5 and earlier contains a Incorrect Access Control (CWE-285) vulnerability in Protocol server that ca

CVE-2016-3105 HIGH
8.8 May 09

The convert extension in Mercurial before 3.8 might allow context-dependent attackers to execute arbitrary code via a cr

CVE-2017-1000115 HIGH
7.5 Oct 05

Mercurial prior to version 4.3 is vulnerable to a missing symlink check that can malicious repositories to modify files

Share

CVE-2019-3902 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy