ghsa-v6w3-vcjx-mwhx
Vulnerability from github
Published
2022-05-13 01:27
Modified
2022-05-13 01:27
Severity ?
VLAI Severity ?
Details
In Git before 2.13.7, 2.14.x before 2.14.4, 2.15.x before 2.15.2, 2.16.x before 2.16.4, and 2.17.x before 2.17.1, remote code execution can occur. With a crafted .gitmodules file, a malicious project can execute an arbitrary script on a machine that runs "git clone --recurse-submodules" because submodule "names" are obtained from this file, and then appended to $GIT_DIR/modules, leading to directory traversal with "../" in a name. Finally, post-checkout hooks from a submodule are executed, bypassing the intended design in which hooks are not obtained from a remote server.
{
"affected": [],
"aliases": [
"CVE-2018-11235"
],
"database_specific": {
"cwe_ids": [
"CWE-22"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2018-05-30T04:29:00Z",
"severity": "HIGH"
},
"details": "In Git before 2.13.7, 2.14.x before 2.14.4, 2.15.x before 2.15.2, 2.16.x before 2.16.4, and 2.17.x before 2.17.1, remote code execution can occur. With a crafted .gitmodules file, a malicious project can execute an arbitrary script on a machine that runs \"git clone --recurse-submodules\" because submodule \"names\" are obtained from this file, and then appended to $GIT_DIR/modules, leading to directory traversal with \"../\" in a name. Finally, post-checkout hooks from a submodule are executed, bypassing the intended design in which hooks are not obtained from a remote server.",
"id": "GHSA-v6w3-vcjx-mwhx",
"modified": "2022-05-13T01:27:06Z",
"published": "2022-05-13T01:27:06Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2018-11235"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2018:1957"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2018:2147"
},
{
"type": "WEB",
"url": "https://blogs.msdn.microsoft.com/devops/2018/05/29/announcing-the-may-2018-git-security-vulnerability"
},
{
"type": "WEB",
"url": "https://marc.info/?l=git\u0026m=152761328506724\u0026w=2"
},
{
"type": "WEB",
"url": "https://security.gentoo.org/glsa/201805-13"
},
{
"type": "WEB",
"url": "https://usn.ubuntu.com/3671-1"
},
{
"type": "WEB",
"url": "https://www.debian.org/security/2018/dsa-4212"
},
{
"type": "WEB",
"url": "https://www.exploit-db.com/exploits/44822"
},
{
"type": "WEB",
"url": "http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00003.html"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/104345"
},
{
"type": "WEB",
"url": "http://www.securitytracker.com/id/1040991"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
]
}
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.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- 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…