CVE-2017-17458
Summary
| CVE | CVE-2017-17458 |
|---|---|
| State | PUBLISHED |
| Assigner | mitre |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2017-12-07 18:29:00 UTC |
| Updated | 2025-04-20 01:37:25 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.0 9.8 CRITICAL from [email protected]
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Problem Types: CWE-78 | n/a
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.0 | [email protected] | Primary | 9.8 | CRITICAL | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 2.0 | [email protected] | Primary | 10 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
CVSS v3.0 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
LowAuthentication
NoneConfidentiality
CompleteIntegrity
CompleteAvailability
CompleteAV:N/AC:L/Au:N/C:C/I:C/A:C
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Debian | Debian Linux | 7.0 | All | All | All |
| Operating System | Debian | Debian Linux | 8.0 | All | All | All |
| Application | Mercurial | Mercurial | All | All | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| [SECURITY] [DLA 1414-2] mercurial regression update | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | Mailing List, Third Party Advisory |
| [Bug 5730] New: [CRITICAL]Arbitrary command execution in mercurial repo with a git submodule | af854a3a-2127-422b-91ae-364da2661108 | www.mercurial-scm.org | Vendor Advisory |
| Atlassian SourceTree Multiple Command Injection and Command Execution Vulnerabilities | af854a3a-2127-422b-91ae-364da2661108 | www.securityfocus.com | Third Party Advisory, VDB Entry |
| Sourcetree Security Advisory 2018-01-24 - Atlassian Documentation | af854a3a-2127-422b-91ae-364da2661108 | confluence.atlassian.com | Third Party Advisory |
| [SECURITY] [DLA 1224-1] mercurial security update | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | Mailing List, Third Party Advisory |
| WhatsNew - Mercurial | af854a3a-2127-422b-91ae-364da2661108 | www.mercurial-scm.org | Vendor Advisory |
| [SECURITY] [DLA 2293-1] mercurial security update | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| 5730 – [CRITICAL]Arbitrary command execution in mercurial repo with a git submodule | af854a3a-2127-422b-91ae-364da2661108 | bz.mercurial-scm.org | Issue Tracking, Third Party Advisory |
| [SECURITY] [DLA 1414-1] mercurial security update | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | Mailing List, Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.