ghsa-6v56-cpg6-3rpx
Vulnerability from github
Published
2022-05-13 01:24
Modified
2024-09-25 17:46
Severity ?
9.8 (Critical) - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
9.3 (Critical) - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
9.3 (Critical) - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VLAI Severity ?
Summary
Mercurial vulnerable to arbitrary code injection
Details
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.
{ "affected": [ { "package": { "ecosystem": "PyPI", "name": "mercurial" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "4.4.1" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2017-17458" ], "database_specific": { "cwe_ids": [ "CWE-78" ], "github_reviewed": true, "github_reviewed_at": "2024-05-01T17:02:42Z", "nvd_published_at": "2017-12-07T18:29:00Z", "severity": "CRITICAL" }, "details": "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.", "id": "GHSA-6v56-cpg6-3rpx", "modified": "2024-09-25T17:46:16Z", "published": "2022-05-13T01:24:56Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-17458" }, { "type": "WEB", "url": "https://bz.mercurial-scm.org/show_bug.cgi?id=5730" }, { "type": "WEB", "url": "https://confluence.atlassian.com/sourcetreekb/sourcetree-security-advisory-2018-01-24-942834324.html" }, { "type": "PACKAGE", "url": "https://github.com/dscho/hg" }, { "type": "WEB", "url": "https://github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2017-90.yaml" }, { "type": "WEB", "url": "https://lists.debian.org/debian-lts-announce/2017/12/msg00027.html" }, { "type": "WEB", "url": "https://lists.debian.org/debian-lts-announce/2018/07/msg00005.html" }, { "type": "WEB", "url": "https://lists.debian.org/debian-lts-announce/2018/07/msg00041.html" }, { "type": "WEB", "url": "https://lists.debian.org/debian-lts-announce/2020/07/msg00032.html" }, { "type": "WEB", "url": "https://web.archive.org/web/20200227132808/http://www.securityfocus.com/bid/102926" }, { "type": "WEB", "url": "https://www.mercurial-scm.org/pipermail/mercurial-devel/2017-November/107333.html" }, { "type": "WEB", "url": "https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.4.1_.282017-11-07.29" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "type": "CVSS_V3" }, { "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N", "type": "CVSS_V4" } ], "summary": "Mercurial vulnerable to arbitrary code injection" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…