SB2017100520 - Multiple vulnerabilities in Mercurial



SB2017100520 - Multiple vulnerabilities in Mercurial

Published: October 5, 2017 Updated: July 23, 2020

Security Bulletin ID SB2017100520
Severity
High
Patch available
YES
Number of vulnerabilities 2
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

High 50% Medium 50%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 2 secuirty vulnerabilities.


1) Link following (CVE-ID: CVE-2017-1000115)

The vulnerability allows a remote non-authenticated attacker to manipulate data.

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


2) OS Command Injection (CVE-ID: CVE-2017-1000116)

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

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


Remediation

Install update from vendor's website.