ID CVE-2017-1000115
Summary Mercurial prior to version 4.3 is vulnerable to a missing symlink check that can malicious repositories to modify files outside the repository
References
Vulnerable Configurations
  • Mercurial 1.6.0
    cpe:2.3:a:mercurial:mercurial:1.6.0
  • Mercurial 1.6.1
    cpe:2.3:a:mercurial:mercurial:1.6.1
  • Mercurial 1.6.2
    cpe:2.3:a:mercurial:mercurial:1.6.2
  • Mercurial 1.6.3
    cpe:2.3:a:mercurial:mercurial:1.6.3
  • Mercurial 1.6.4
    cpe:2.3:a:mercurial:mercurial:1.6.4
  • Mercurial 1.7.0
    cpe:2.3:a:mercurial:mercurial:1.7.0
  • Mercurial 1.7.1
    cpe:2.3:a:mercurial:mercurial:1.7.1
  • Mercurial 1.7.2
    cpe:2.3:a:mercurial:mercurial:1.7.2
  • Mercurial 1.7.3
    cpe:2.3:a:mercurial:mercurial:1.7.3
  • Mercurial 1.7.4
    cpe:2.3:a:mercurial:mercurial:1.7.4
  • Mercurial 1.7.5
    cpe:2.3:a:mercurial:mercurial:1.7.5
  • Mercurial 1.8.0
    cpe:2.3:a:mercurial:mercurial:1.8.0
  • Mercurial 1.8.1
    cpe:2.3:a:mercurial:mercurial:1.8.1
  • Mercurial 1.8.2
    cpe:2.3:a:mercurial:mercurial:1.8.2
  • Mercurial 1.8.3
    cpe:2.3:a:mercurial:mercurial:1.8.3
  • Mercurial 1.8.4
    cpe:2.3:a:mercurial:mercurial:1.8.4
  • Mercurial 1.9.0
    cpe:2.3:a:mercurial:mercurial:1.9.0
  • Mercurial 1.9.1
    cpe:2.3:a:mercurial:mercurial:1.9.1
  • Mercurial 1.9.2
    cpe:2.3:a:mercurial:mercurial:1.9.2
  • Mercurial 1.9.3
    cpe:2.3:a:mercurial:mercurial:1.9.3
  • Mercurial 2.0.0
    cpe:2.3:a:mercurial:mercurial:2.0.0
  • Mercurial 2.0.1
    cpe:2.3:a:mercurial:mercurial:2.0.1
  • Mercurial 2.0.2
    cpe:2.3:a:mercurial:mercurial:2.0.2
  • Mercurial 2.1.0
    cpe:2.3:a:mercurial:mercurial:2.1.0
  • Mercurial 2.1.1
    cpe:2.3:a:mercurial:mercurial:2.1.1
  • Mercurial 2.1.2
    cpe:2.3:a:mercurial:mercurial:2.1.2
  • Mercurial 2.2.0
    cpe:2.3:a:mercurial:mercurial:2.2.0
  • Mercurial 2.2.1
    cpe:2.3:a:mercurial:mercurial:2.2.1
  • Mercurial 2.2.2
    cpe:2.3:a:mercurial:mercurial:2.2.2
  • Mercurial 2.2.3
    cpe:2.3:a:mercurial:mercurial:2.2.3
  • Mercurial 2.3.0
    cpe:2.3:a:mercurial:mercurial:2.3.0
  • Mercurial 2.3.1
    cpe:2.3:a:mercurial:mercurial:2.3.1
  • Mercurial 2.3.2
    cpe:2.3:a:mercurial:mercurial:2.3.2
  • Mercurial 2.4.0
    cpe:2.3:a:mercurial:mercurial:2.4.0
  • Mercurial 2.4.1
    cpe:2.3:a:mercurial:mercurial:2.4.1
  • Mercurial 2.4.2
    cpe:2.3:a:mercurial:mercurial:2.4.2
  • Mercurial 2.5.0
    cpe:2.3:a:mercurial:mercurial:2.5.0
  • Mercurial 2.5.1
    cpe:2.3:a:mercurial:mercurial:2.5.1
  • Mercurial 2.5.2
    cpe:2.3:a:mercurial:mercurial:2.5.2
  • Mercurial 2.5.3
    cpe:2.3:a:mercurial:mercurial:2.5.3
  • Mercurial 2.5.4
    cpe:2.3:a:mercurial:mercurial:2.5.4
  • Mercurial 2.6.0
    cpe:2.3:a:mercurial:mercurial:2.6.0
  • Mercurial 2.6.1
    cpe:2.3:a:mercurial:mercurial:2.6.1
  • Mercurial 2.6.2
    cpe:2.3:a:mercurial:mercurial:2.6.2
  • Mercurial 2.6.3
    cpe:2.3:a:mercurial:mercurial:2.6.3
  • Mercurial 2.7.0
    cpe:2.3:a:mercurial:mercurial:2.7.0
  • Mercurial 2.7.1
    cpe:2.3:a:mercurial:mercurial:2.7.1
  • Mercurial 2.7.2
    cpe:2.3:a:mercurial:mercurial:2.7.2
  • Mercurial 2.8.0
    cpe:2.3:a:mercurial:mercurial:2.8.0
  • Mercurial 2.8.1
    cpe:2.3:a:mercurial:mercurial:2.8.1
  • Mercurial 2.8.2
    cpe:2.3:a:mercurial:mercurial:2.8.2
  • Mercurial 2.9.0
    cpe:2.3:a:mercurial:mercurial:2.9.0
  • Mercurial 2.9.1
    cpe:2.3:a:mercurial:mercurial:2.9.1
  • Mercurial 2.9.2
    cpe:2.3:a:mercurial:mercurial:2.9.2
  • Mercurial 3.0.0
    cpe:2.3:a:mercurial:mercurial:3.0.0
  • Mercurial 3.0.1
    cpe:2.3:a:mercurial:mercurial:3.0.1
  • Mercurial 3.0.2
    cpe:2.3:a:mercurial:mercurial:3.0.2
  • Mercurial 3.1.0
    cpe:2.3:a:mercurial:mercurial:3.1.0
  • Mercurial 3.1.1
    cpe:2.3:a:mercurial:mercurial:3.1.1
  • Mercurial 3.1.2
    cpe:2.3:a:mercurial:mercurial:3.1.2
  • Mercurial 3.2.0
    cpe:2.3:a:mercurial:mercurial:3.2.0
  • Mercurial 3.2.1
    cpe:2.3:a:mercurial:mercurial:3.2.1
  • Mercurial 3.2.2
    cpe:2.3:a:mercurial:mercurial:3.2.2
  • Mercurial Mercurial 3.2.3
    cpe:2.3:a:mercurial:mercurial:3.2.3
  • Mercurial 3.2.4
    cpe:2.3:a:mercurial:mercurial:3.2.4
  • Mercurial 3.3.0
    cpe:2.3:a:mercurial:mercurial:3.3.0
  • Mercurial 3.3.1
    cpe:2.3:a:mercurial:mercurial:3.3.1
  • Mercurial 3.3.2
    cpe:2.3:a:mercurial:mercurial:3.3.2
  • Mercurial 3.3.3
    cpe:2.3:a:mercurial:mercurial:3.3.3
  • Mercurial 3.4.0
    cpe:2.3:a:mercurial:mercurial:3.4.0
  • Mercurial 3.4.1
    cpe:2.3:a:mercurial:mercurial:3.4.1
  • Mercurial 3.4.2
    cpe:2.3:a:mercurial:mercurial:3.4.2
  • Mercurial 3.5.0
    cpe:2.3:a:mercurial:mercurial:3.5.0
  • Mercurial 3.5.1
    cpe:2.3:a:mercurial:mercurial:3.5.1
  • Mercurial 3.5.2
    cpe:2.3:a:mercurial:mercurial:3.5.2
  • Mercurial 3.6.0
    cpe:2.3:a:mercurial:mercurial:3.6.0
  • Mercurial 3.6.1
    cpe:2.3:a:mercurial:mercurial:3.6.1
  • Mercurial 3.6.2
    cpe:2.3:a:mercurial:mercurial:3.6.2
  • Mercurial 3.6.3
    cpe:2.3:a:mercurial:mercurial:3.6.3
  • Mercurial 3.7.0
    cpe:2.3:a:mercurial:mercurial:3.7.0
  • Mercurial 3.7.1
    cpe:2.3:a:mercurial:mercurial:3.7.1
  • Mercurial Mercurial 3.7.2
    cpe:2.3:a:mercurial:mercurial:3.7.2
  • Mercurial Mercurial 3.7.3
    cpe:2.3:a:mercurial:mercurial:3.7.3
  • Mercurial 3.8.0
    cpe:2.3:a:mercurial:mercurial:3.8.0
  • Mercurial 3.8.1
    cpe:2.3:a:mercurial:mercurial:3.8.1
  • Mercurial 3.8.2
    cpe:2.3:a:mercurial:mercurial:3.8.2
  • Mercurial 3.8.3
    cpe:2.3:a:mercurial:mercurial:3.8.3
  • Mercurial 3.8.4
    cpe:2.3:a:mercurial:mercurial:3.8.4
  • Mercurial 3.9.0
    cpe:2.3:a:mercurial:mercurial:3.9.0
  • Mercurial 3.9.1
    cpe:2.3:a:mercurial:mercurial:3.9.1
  • Mercurial 3.9.2
    cpe:2.3:a:mercurial:mercurial:3.9.2
  • Mercurial 4.0
    cpe:2.3:a:mercurial:mercurial:4.0
  • Mercurial 4.0.1
    cpe:2.3:a:mercurial:mercurial:4.0.1
  • Mercurial 4.0.2
    cpe:2.3:a:mercurial:mercurial:4.0.2
  • Mercurial 4.1
    cpe:2.3:a:mercurial:mercurial:4.1
  • Mercurial 4.1.0
    cpe:2.3:a:mercurial:mercurial:4.1.0
  • Mercurial 4.1.1
    cpe:2.3:a:mercurial:mercurial:4.1.1
  • Mercurial 4.1.2
    cpe:2.3:a:mercurial:mercurial:4.1.2
  • Mercurial 4.1.3
    cpe:2.3:a:mercurial:mercurial:4.1.3
  • Mercurial 4.2
    cpe:2.3:a:mercurial:mercurial:4.2
  • Mercurial 4.2.0
    cpe:2.3:a:mercurial:mercurial:4.2.0
  • Mercurial 4.2.1
    cpe:2.3:a:mercurial:mercurial:4.2.1
  • Mercurial 4.2.2
    cpe:2.3:a:mercurial:mercurial:4.2.2
  • Mercurial 4.2.3
    cpe:2.3:a:mercurial:mercurial:4.2.3
  • Debian Linux 8.0 (Jessie)
    cpe:2.3:o:debian:debian_linux:8.0
  • Debian Linux 9.0
    cpe:2.3:o:debian:debian_linux:9.0
  • RedHat Enterprise Linux Desktop 7.0
    cpe:2.3:o:redhat:enterprise_linux_desktop:7.0
  • RedHat Enterprise Linux Server 7.0
    cpe:2.3:o:redhat:enterprise_linux_server:7.0
  • Red Hat Enterprise Linux Server Advanced mission critical Update Support (AUS) 7.4
    cpe:2.3:o:redhat:enterprise_linux_server_aus:7.4
  • Red Hat Enterprise Linux Server Advanced mission critical Update Support (AUS) 7.6
    cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6
  • Red Hat Enterprise Linux Server Extended Update Support (EUS) 7.4
    cpe:2.3:o:redhat:enterprise_linux_server_eus:7.4
  • Red Hat Enterprise Linux Server Extended Update Support (EUS) 7.5
    cpe:2.3:o:redhat:enterprise_linux_server_eus:7.5
  • Red Hat Enterprise Linux Server Extended Update Support (EUS) 7.6
    cpe:2.3:o:redhat:enterprise_linux_server_eus:7.6
  • cpe:2.3:o:redhat:enterprise_linux_server_tus:7.4
    cpe:2.3:o:redhat:enterprise_linux_server_tus:7.4
  • Red Hat Enterprise Linux Server Telecommunications Update Service (TUS) 7.6
    cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6
  • RedHat Enterprise Linux Workstation 7.0
    cpe:2.3:o:redhat:enterprise_linux_workstation:7.0
CVSS
Base: 5.0
Impact:
Exploitability:
CWE CWE-59
CAPEC
  • Symlink Attack
    An attacker positions a symbolic link in such a manner that the targeted user or application accesses the link's endpoint, assuming that it is accessing a file with the link's name. The endpoint file may be either output or input. If the file is output, the result is that the endpoint is modified, instead of a file at the intended location. Modifications to the endpoint file may include appending, overwriting, corrupting, changing permissions, or other modifications. In some variants of this attack the attacker may be able to control the change to a file while in other cases they cannot. The former is especially damaging since the attacker may be able to grant themselves increased privileges or insert false information, but the latter can also be damaging as it can expose sensitive information or corrupt or destroy vital system or application files. Alternatively, the endpoint file may serve as input to the targeted application. This can be used to feed malformed input into the target or to cause the target to process different information, possibly allowing the attacker to control the actions of the target or to cause the target to expose information to the attacker. Moreover, the actions taken on the endpoint file are undertaken with the permissions of the targeted user or application, which may exceed the permissions that the attacker would normally have.
  • Accessing, Modifying or Executing Executable Files
    An attack of this type exploits a system's configuration that allows an attacker to either directly access an executable file, for example through shell access; or in a possible worst case allows an attacker to upload a file and then execute it. Web servers, ftp servers, and message oriented middleware systems which have many integration points are particularly vulnerable, because both the programmers and the administrators must be in synch regarding the interfaces and the correct privileges for each interface.
  • Leverage Executable Code in Non-Executable Files
    An attack of this type exploits a system's trust in configuration and resource files, when the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high. The attack can be directed at a client system, such as causing buffer overrun through loading seemingly benign image files, as in Microsoft Security Bulletin MS04-028 where specially crafted JPEG files could cause a buffer overrun once loaded into the browser. Another example targets clients reading pdf files. In this case the attacker simply appends javascript to the end of a legitimate url for a pdf (http://www.gnucitizen.org/blog/danger-danger-danger/) http://path/to/pdf/file.pdf#whatever_name_you_want=javascript:your_code_here The client assumes that they are reading a pdf, but the attacker has modified the resource and loaded executable javascript into the client's browser process. The attack can also target server processes. The attacker edits the resource or configuration file, for example a web.xml file used to configure security permissions for a J2EE app server, adding role name "public" grants all users with the public role the ability to use the administration functionality. The server trusts its configuration file to be correct, but when they are manipulated, the attacker gains full control.
  • Manipulating Input to File System Calls
    An attacker manipulates inputs to the target software which the target software passes to file system calls in the OS. The goal is to gain access to, and perhaps modify, areas of the file system that the target software did not intend to be accessible.
nessus via4
  • NASL family CentOS Local Security Checks
    NASL id CENTOS_RHSA-2017-2489.NASL
    description An update for mercurial is now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section. Mercurial is a fast, lightweight source control management system designed for efficient handling of very large distributed projects. Security Fix(es) : * A vulnerability was found in the way Mercurial handles path auditing and caches the results. An attacker could abuse a repository with a series of commits mixing symlinks and regular files/directories to trick Mercurial into writing outside of a given repository. (CVE-2017-1000115) * A shell command injection flaw related to the handling of 'ssh' URLs has been discovered in Mercurial. This can be exploited to execute shell commands with the privileges of the user running the Mercurial client, for example, when performing a 'checkout' or 'update' action on a sub-repository within a malicious repository or a legitimate repository containing a malicious commit. (CVE-2017-1000116) Red Hat would like to thank the Mercurial Security Team for reporting CVE-2017-1000115 and the Subversion Team for reporting CVE-2017-1000116.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 102880
    published 2017-09-01
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=102880
    title CentOS 7 : mercurial (CESA-2017:2489)
  • NASL family Amazon Linux Local Security Checks
    NASL id ALA_ALAS-2017-893.NASL
    description A shell command injection flaw related to the handling of 'ssh' URLs has been discovered in Mercurial. This can be exploited to execute shell commands with the privileges of the user running the Mercurial client, for example, when performing a 'checkout' or 'update' action on a sub-repository within a malicious repository or a legitimate repository containing a malicious commit. (CVE-2017-1000116) A vulnerability was found in the way Mercurial handles path auditing and caches the results. An attacker could abuse a repository with a series of commits mixing symlinks and regular files/directories to trick Mercurial into writing outside of a given repository. (CVE-2017-1000115)
    last seen 2019-02-21
    modified 2018-04-18
    plugin id 103227
    published 2017-09-15
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=103227
    title Amazon Linux AMI : mercurial (ALAS-2017-893)
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-201709-18.NASL
    description The remote host is affected by the vulnerability described in GLSA-201709-18 (Mercurial: Multiple vulnerabilities) Multiple vulnerabilities have been discovered in Mercurial. Please review the referenced CVE identifiers for details. Impact : A remote attacker could possibly execute arbitrary code with the privileges of the process. Workaround : There is no known workaround at this time.
    last seen 2019-02-21
    modified 2018-07-13
    plugin id 103446
    published 2017-09-25
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=103446
    title GLSA-201709-18 : Mercurial: Multiple vulnerabilities
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-3963.NASL
    description Several issues were discovered in Mercurial, a distributed revision control system. - CVE-2017-9462 (fixed in stretch only) Jonathan Claudius of Mozilla discovered that repositories served over stdio could be tricked into granting authorized users access to the Python debugger. - CVE-2017-1000115 Mercurial's symlink auditing was incomplete, and could be abused to write files outside the repository. - CVE-2017-1000116 Joern Schneeweisz discovered that Mercurial did not correctly handle maliciously constructed ssh:// URLs. This allowed an attacker to run an arbitrary shell command.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 102930
    published 2017-09-05
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=102930
    title Debian DSA-3963-1 : mercurial - security update
  • NASL family FreeBSD Local Security Checks
    NASL id FREEBSD_PKG_1D33CDEE7F6B11E7A9B53DEBB10A6871.NASL
    description Mercurial Release Notes : CVE-2017-1000115 Mercurial's symlink auditing was incomplete prior to 4.3, and could be abused to write to files outside the repository. CVE-2017-1000116 Mercurial was not sanitizing hostnames passed to ssh, allowing shell injection attacks on clients by specifying a hostname starting with -oProxyCommand. This is also present in Git (CVE-2017-1000117) and Subversion (CVE-2017-9800), so please patch those tools as well if you have them installed.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 102465
    published 2017-08-14
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=102465
    title FreeBSD : Mercurial -- multiple vulnerabilities (1d33cdee-7f6b-11e7-a9b5-3debb10a6871)
  • NASL family SuSE Local Security Checks
    NASL id OPENSUSE-2017-941.NASL
    description This update for mercurial fixes the following issues : Mercurial was updated to 4.2.3, a security fix update for - CVE-2017-1000115: Incomplete symlink auditing allowed writing to files outside of the repository (boo#1053344) - CVE-2017-1000116: Client-side code execution via argument injection in SSH URLs (boo#1052696)
    last seen 2019-02-21
    modified 2018-01-26
    plugin id 102560
    published 2017-08-18
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=102560
    title openSUSE Security Update : mercurial (openSUSE-2017-941)
  • NASL family Huawei Local Security Checks
    NASL id EULEROS_SA-2017-1217.NASL
    description According to the versions of the mercurial package installed, the EulerOS installation on the remote host is affected by the following vulnerabilities : - A vulnerability was found in the way Mercurial handles path auditing and caches the results. An attacker could abuse a repository with a series of commits mixing symlinks and regular files/directories to trick Mercurial into writing outside of a given repository. (CVE-2017-1000115) - A shell command injection flaw related to the handling of 'ssh' URLs has been discovered in Mercurial. This can be exploited to execute shell commands with the privileges of the user running the Mercurial client, for example, when performing a 'checkout' or 'update' action on a sub-repository within a malicious repository or a legitimate repository containing a malicious commit. (CVE-2017-1000116) Note that Tenable Network Security has extracted the preceding description block directly from the EulerOS security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2018-11-14
    plugin id 103075
    published 2017-09-11
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=103075
    title EulerOS 2.0 SP1 : mercurial (EulerOS-SA-2017-1217)
  • NASL family Oracle Linux Local Security Checks
    NASL id ORACLELINUX_ELSA-2017-2489.NASL
    description From Red Hat Security Advisory 2017:2489 : An update for mercurial is now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section. Mercurial is a fast, lightweight source control management system designed for efficient handling of very large distributed projects. Security Fix(es) : * A vulnerability was found in the way Mercurial handles path auditing and caches the results. An attacker could abuse a repository with a series of commits mixing symlinks and regular files/directories to trick Mercurial into writing outside of a given repository. (CVE-2017-1000115) * A shell command injection flaw related to the handling of 'ssh' URLs has been discovered in Mercurial. This can be exploited to execute shell commands with the privileges of the user running the Mercurial client, for example, when performing a 'checkout' or 'update' action on a sub-repository within a malicious repository or a legitimate repository containing a malicious commit. (CVE-2017-1000116) Red Hat would like to thank the Mercurial Security Team for reporting CVE-2017-1000115 and the Subversion Team for reporting CVE-2017-1000116.
    last seen 2019-02-21
    modified 2018-07-25
    plugin id 102571
    published 2017-08-18
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=102571
    title Oracle Linux 7 : mercurial (ELSA-2017-2489)
  • NASL family Huawei Local Security Checks
    NASL id EULEROS_SA-2017-1218.NASL
    description According to the versions of the mercurial package installed, the EulerOS installation on the remote host is affected by the following vulnerabilities : - A vulnerability was found in the way Mercurial handles path auditing and caches the results. An attacker could abuse a repository with a series of commits mixing symlinks and regular files/directories to trick Mercurial into writing outside of a given repository. (CVE-2017-1000115) - A shell command injection flaw related to the handling of 'ssh' URLs has been discovered in Mercurial. This can be exploited to execute shell commands with the privileges of the user running the Mercurial client, for example, when performing a 'checkout' or 'update' action on a sub-repository within a malicious repository or a legitimate repository containing a malicious commit. (CVE-2017-1000116) Note that Tenable Network Security has extracted the preceding description block directly from the EulerOS security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2018-11-14
    plugin id 103076
    published 2017-09-11
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=103076
    title EulerOS 2.0 SP2 : mercurial (EulerOS-SA-2017-1218)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2017-F03B04ACBB.NASL
    description Security fix for CVE-2017-1000115, CVE-2017-1000116 Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2018-02-02
    plugin id 102832
    published 2017-08-30
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=102832
    title Fedora 26 : mercurial (2017-f03b04acbb)
  • NASL family Scientific Linux Local Security Checks
    NASL id SL_20170817_MERCURIAL_ON_SL7_X.NASL
    description Security Fix(es) : - A vulnerability was found in the way Mercurial handles path auditing and caches the results. An attacker could abuse a repository with a series of commits mixing symlinks and regular files/directories to trick Mercurial into writing outside of a given repository. (CVE-2017-1000115) - A shell command injection flaw related to the handling of 'ssh' URLs has been discovered in Mercurial. This can be exploited to execute shell commands with the privileges of the user running the Mercurial client, for example, when performing a 'checkout' or 'update' action on a sub- repository within a malicious repository or a legitimate repository containing a malicious commit. (CVE-2017-1000116)
    last seen 2019-02-21
    modified 2018-12-27
    plugin id 102676
    published 2017-08-22
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=102676
    title Scientific Linux Security Update : mercurial on SL7.x x86_64
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2017-2489.NASL
    description An update for mercurial is now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section. Mercurial is a fast, lightweight source control management system designed for efficient handling of very large distributed projects. Security Fix(es) : * A vulnerability was found in the way Mercurial handles path auditing and caches the results. An attacker could abuse a repository with a series of commits mixing symlinks and regular files/directories to trick Mercurial into writing outside of a given repository. (CVE-2017-1000115) * A shell command injection flaw related to the handling of 'ssh' URLs has been discovered in Mercurial. This can be exploited to execute shell commands with the privileges of the user running the Mercurial client, for example, when performing a 'checkout' or 'update' action on a sub-repository within a malicious repository or a legitimate repository containing a malicious commit. (CVE-2017-1000116) Red Hat would like to thank the Mercurial Security Team for reporting CVE-2017-1000115 and the Subversion Team for reporting CVE-2017-1000116.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 102575
    published 2017-08-18
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=102575
    title RHEL 7 : mercurial (RHSA-2017:2489)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2017-FA1D8AD61A.NASL
    description Security fix for CVE-2017-1000115, CVE-2017-1000116 Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2018-02-02
    plugin id 103554
    published 2017-09-29
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=103554
    title Fedora 25 : mercurial (2017-fa1d8ad61a)
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DLA-1072.NASL
    description Two significant vulnerabilities were found in the Mercurial version control system which could lead to shell injection attacks and out-of-tree file overwrite. CVE-2017-1000115 Mercurial's symlink auditing was incomplete prior to 4.3, and could be abused to write to files outside the repository. CVE-2017-1000116 Mercurial was not sanitizing hostnames passed to ssh, allowing shell injection attacks on clients by specifying a hostname starting with -oProxyCommand. This vulnerability is similar to those in Git (CVE-2017-1000117) and Subversion (CVE-2017-9800). For Debian 7 'Wheezy', these problems have been fixed in version 2.2.2-4+deb7u5. We recommend that you upgrade your mercurial packages. NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2018-07-09
    plugin id 102886
    published 2017-09-01
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=102886
    title Debian DLA-1072-1 : mercurial security update
  • NASL family FreeBSD Local Security Checks
    NASL id FREEBSD_PKG_B0628E53092A4037938B29805A7CD31B.NASL
    description mercurial developers reports : Mercurial prior to version 4.3 is vulnerable to a missing symlink check that can malicious repositories to modify files outside the repository Mercurial prior to 4.3 did not adequately sanitize hostnames passed to ssh, leading to possible shell-injection attacks.
    last seen 2019-02-21
    modified 2018-11-23
    plugin id 103861
    published 2017-10-17
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=103861
    title FreeBSD : mercurial -- multiple issues (b0628e53-092a-4037-938b-29805a7cd31b)
  • NASL family Slackware Local Security Checks
    NASL id SLACKWARE_SSA_2017-223-03.NASL
    description New mercurial packages are available for Slackware 14.0, 14.1, 14.2, and -current to fix security issues.
    last seen 2019-02-21
    modified 2018-01-26
    plugin id 102434
    published 2017-08-14
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=102434
    title Slackware 14.0 / 14.1 / 14.2 / current : mercurial (SSA:2017-223-03)
redhat via4
advisories
rhsa
id RHSA-2017:2489
rpms
  • emacs-mercurial-0:2.6.2-8.el7_4
  • emacs-mercurial-el-0:2.6.2-8.el7_4
  • mercurial-0:2.6.2-8.el7_4
  • mercurial-hgk-0:2.6.2-8.el7_4
refmap via4
bid 100290
confirm https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.3_.2F_4.3.1_.282017-08-10.29
debian DSA-3963
gentoo GLSA-201709-18
Last major update 04-10-2017 - 21:29
Published 04-10-2017 - 21:29
Last modified 10-05-2019 - 10:58
Back to Top