CVE-2017-17458: debian debian_linux OS Command Injection
CVSS: 10.0v2.0HighModified
AliasesMGASA-2018-0041SUSE-SU-2018:0127-1SUSE-SU-2018:0129-1GHSA-6v56-cpg6-3rpxPYSEC-2017-90UBUNTU-CVE-2017-17458DEBIAN-CVE-2017-17458DLA-1224-1DLA-1414-2
Published 07-12-2017Last modified 05-08-2024
Vulnerability summary
CVE-2017-17458 is a high (CVSS 10.0) OS Command Injection vulnerability in debian debian_linux. EPSS estimates a 6.33% chance of exploitation in the next 30 days, higher than 93.5% of scored vulnerabilities.
CVSS score
10.0/10
010
High · v2.0 (NVD)EPSS score
6.33%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 3 · Related 1Timeline
- 07-12-2017PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
Description
In Mercurial before 4.4.1, it is possible that a specially malformed repository can cause Git subrepositories to run arbitrary code in the form of a .git/hooks/post-update script checked into the repository. Typical use of Mercurial prevents construction of such repositories, but they can be created programmatically.
CVSS metrics
6 scores · 4 sources · 3 versionsCritical 9.3Preferred score · OSV · Pypi (Ecosystem advisory) · calculated from vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NSourcesSingle source
Critical 9.8Preferred score · NVD (NIST)
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HSourcesAll 4 agree
- OSV · PypiEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
High 10.0Preferred score · NVD (NIST)
AV:N/AC:L/Au:N/C:C/I:C/A:CSourcesSingle source
EPSS trend
Probability
6.33%
Chance of exploitation in the next 30 days
Percentile
94%
Versus all other CVEs
30-day change
0.00 pp
From 6.33% on 18-09-2026
18-09-202618-10-2026
EPSS score6.33%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Suse3 products
- mercurial&distro=SUSE Linux Enterprise Software Development Kit 11 SP4< 2.3.2-0.18.6.1
- mercurial&distro=SUSE Linux Enterprise Software Development Kit 12 SP2< 2.8.2-15.6.1
- mercurial&distro=SUSE Linux Enterprise Software Development Kit 12 SP3< 2.8.2-15.6.1
Debian2 products
- mercurial< 4.4.1-1 | < 2.2.2-4+deb7u6 | < 3.1.2-2+deb8u6
- debian_linuxEOL7.0 | 8.0
Mageia2 products
- mercurial< 3.1.1-5.6.mga5
- mercurial< 4.1.3-1.2.mga6
Mercurial1 product
- mercurial< 4.4.1
PyPI1 product
- mercurial< 4.4.1
Ubuntu1 product
- mercurial< 2.8.2-1ubuntu1.4 | < 3.7.3-1ubuntu1.1
6 vendors · 10 products
References
24 links- lists.debian.org/debian-lts-announce/2017/12/msg00027.htmlMailing ListX Refsource MLISTThird Party AdvisoryWEB
- lists.debian.org/debian-lts-announce/2018/07/msg00041.htmlMailing ListX Refsource MLISTThird Party AdvisoryWEB
- lists.debian.org/debian-lts-announce/2018/07/msg00005.htmlMailing ListX Refsource MLISTThird Party AdvisoryWEB
- www.mercurial-scm.org/pipermail/mercurial-devel/2017-November/107333.htmlX Refsource MISCVendor AdvisoryWEBREPORT
- bz.mercurial-scm.org/show_bug.cgi?id=5730X Refsource MISCIssue TrackingThird Party AdvisoryWEBREPORT
- confluence.atlassian.com/sourcetreekb/sourcetree-security-advisory-2018-01-24-942834324.htmlX Refsource CONFIRMThird Party AdvisoryWEBAdvisory
Show all 24 references
- github.com/dscho/hgPACKAGE