Lucene search

K
amazonAmazonALAS-2017-893
HistorySep 13, 2017 - 10:52 p.m.

Important: mercurial

2017-09-1322:52:00
alas.aws.amazon.com
16

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

10 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:L/Au:N/C:C/I:C/A:C

0.014 Low

EPSS

Percentile

86.0%

Issue Overview:

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)

Affected Packages:

mercurial

Issue Correction:
Run yum update mercurial to update your system.

New Packages:

i686:  
    mercurial-common-4.2.3-1.29.amzn1.i686  
    emacs-mercurial-4.2.3-1.29.amzn1.i686  
    mercurial-python26-4.2.3-1.29.amzn1.i686  
    mercurial-debuginfo-4.2.3-1.29.amzn1.i686  
    mercurial-python27-4.2.3-1.29.amzn1.i686  
    emacs-mercurial-el-4.2.3-1.29.amzn1.i686  
  
src:  
    mercurial-4.2.3-1.29.amzn1.src  
  
x86_64:  
    mercurial-python27-4.2.3-1.29.amzn1.x86_64  
    emacs-mercurial-4.2.3-1.29.amzn1.x86_64  
    mercurial-debuginfo-4.2.3-1.29.amzn1.x86_64  
    mercurial-common-4.2.3-1.29.amzn1.x86_64  
    mercurial-python26-4.2.3-1.29.amzn1.x86_64  
    emacs-mercurial-el-4.2.3-1.29.amzn1.x86_64  

Additional References

Red Hat: CVE-2017-1000115, CVE-2017-1000116

Mitre: CVE-2017-1000115, CVE-2017-1000116

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

10 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:L/Au:N/C:C/I:C/A:C

0.014 Low

EPSS

Percentile

86.0%