Show plain JSON{"dataType": "CVE_RECORD", "cveMetadata": {"cveId": "CVE-2024-32002", "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "state": "PUBLISHED", "assignerShortName": "GitHub_M", "dateReserved": "2024-04-08T13:48:37.492Z", "datePublished": "2024-05-14T18:40:46.652Z", "dateUpdated": "2025-02-13T17:52:02.266Z"}, "containers": {"cna": {"title": "Git's recursive clones on case-insensitive filesystems that support symlinks are susceptible to Remote Code Execution", "problemTypes": [{"descriptions": [{"cweId": "CWE-22", "lang": "en", "description": "CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')", "type": "CWE"}]}, {"descriptions": [{"cweId": "CWE-434", "lang": "en", "description": "CWE-434: Unrestricted Upload of File with Dangerous Type", "type": "CWE"}]}], "metrics": [{"cvssV3_1": {"attackComplexity": "HIGH", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 9.1, "baseSeverity": "CRITICAL", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "scope": "CHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H", "version": "3.1"}}], "references": [{"name": "https://github.com/git/git/security/advisories/GHSA-8h77-4q3w-gfgv", "tags": ["x_refsource_CONFIRM"], "url": "https://github.com/git/git/security/advisories/GHSA-8h77-4q3w-gfgv"}, {"name": "https://github.com/git/git/commit/97065761333fd62db1912d81b489db938d8c991d", "tags": ["x_refsource_MISC"], "url": "https://github.com/git/git/commit/97065761333fd62db1912d81b489db938d8c991d"}, {"name": "https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---recurse-submodulesltpathspecgt", "tags": ["x_refsource_MISC"], "url": "https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---recurse-submodulesltpathspecgt"}, {"name": "https://git-scm.com/docs/git-config#Documentation/git-config.txt-coresymlinks", "tags": ["x_refsource_MISC"], "url": "https://git-scm.com/docs/git-config#Documentation/git-config.txt-coresymlinks"}, {"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/S4CK4IYTXEOBZTEM5K3T6LWOIZ3S44AR/"}, {"url": "http://www.openwall.com/lists/oss-security/2024/05/14/2"}, {"url": "https://lists.debian.org/debian-lts-announce/2024/06/msg00018.html"}], "affected": [{"vendor": "git", "product": "git", "versions": [{"version": "= 2.45.0", "status": "affected"}, {"version": "= 2.44.0", "status": "affected"}, {"version": ">= 2.43.0, < 2.43.4", "status": "affected"}, {"version": ">= 2.42.0, < 2.42.2", "status": "affected"}, {"version": "= 2.41.0", "status": "affected"}, {"version": ">= 2.40.0, < 2.40.2", "status": "affected"}, {"version": "< 2.39.4", "status": "affected"}]}], "providerMetadata": {"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "shortName": "GitHub_M", "dateUpdated": "2024-06-26T10:06:01.593Z"}, "descriptions": [{"lang": "en", "value": "Git is a revision control system. Prior to versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4, repositories with submodules can be crafted in a way that exploits a bug in Git whereby it can be fooled into writing files not into the submodule's worktree but into a `.git/` directory. This allows writing a hook that will be executed while the clone operation is still running, giving the user no opportunity to inspect the code that is being executed. The problem has been patched in versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4. If symbolic link support is disabled in Git (e.g. via `git config --global core.symlinks false`), the described attack won't work. As always, it is best to avoid cloning repositories from untrusted sources."}], "source": {"advisory": "GHSA-8h77-4q3w-gfgv", "discovery": "UNKNOWN"}}, "adp": [{"affected": [{"vendor": "git", "product": "git", "cpes": ["cpe:2.3:a:git:git:2.45.0:*:*:*:*:*:*:*"], "defaultStatus": "unknown", "versions": [{"version": "2.45.0", "status": "affected"}]}, {"vendor": "git", "product": "git", "cpes": ["cpe:2.3:a:git:git:2.44.0:*:*:*:*:*:*:*"], "defaultStatus": "unknown", "versions": [{"version": "2.44.0", "status": "affected"}]}, {"vendor": "git", "product": "git", "cpes": ["cpe:2.3:a:git:git:2.43:*:*:*:*:*:*:*"], "defaultStatus": "unknown", "versions": [{"version": "2.43", "status": "affected", "lessThan": "2.43.4", "versionType": "custom"}]}, {"vendor": "git", "product": "git", "cpes": ["cpe:2.3:a:git:git:2.42.0:*:*:*:*:*:*:*"], "defaultStatus": "unknown", "versions": [{"version": "2.42.0", "status": "affected", "lessThan": "2.42.2", "versionType": "custom"}]}, {"vendor": "git", "product": "git", "cpes": ["cpe:2.3:a:git:git:2.41.0:*:*:*:*:*:*:*"], "defaultStatus": "unknown", "versions": [{"version": "2.41.0", "status": "affected"}]}, {"vendor": "git", "product": "git", "cpes": ["cpe:2.3:a:git:git:2.40.0:*:*:*:*:*:*:*"], "defaultStatus": "unknown", "versions": [{"version": "2.40.0", "status": "affected", "lessThan": "2.40.2", "versionType": "custom"}]}, {"vendor": "git", "product": "git", "cpes": ["cpe:2.3:a:git:git:*:*:*:*:*:*:*:*"], "defaultStatus": "unknown", "versions": [{"version": "0", "status": "affected", "lessThan": "2.39.4", "versionType": "custom"}]}], "metrics": [{"other": {"type": "ssvc", "content": {"timestamp": "2024-05-29T14:18:00.384488Z", "id": "CVE-2024-32002", "options": [{"Exploitation": "poc"}, {"Automatable": "no"}, {"Technical Impact": "total"}], "role": "CISA Coordinator", "version": "2.0.3"}}}], "title": "CISA ADP Vulnrichment", "providerMetadata": {"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2024-06-06T17:12:17.508Z"}}, {"providerMetadata": {"orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE", "dateUpdated": "2024-08-02T01:59:50.899Z"}, "title": "CVE Program Container", "references": [{"name": "https://github.com/git/git/security/advisories/GHSA-8h77-4q3w-gfgv", "tags": ["x_refsource_CONFIRM", "x_transferred"], "url": "https://github.com/git/git/security/advisories/GHSA-8h77-4q3w-gfgv"}, {"name": "https://github.com/git/git/commit/97065761333fd62db1912d81b489db938d8c991d", "tags": ["x_refsource_MISC", "x_transferred"], "url": "https://github.com/git/git/commit/97065761333fd62db1912d81b489db938d8c991d"}, {"name": "https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---recurse-submodulesltpathspecgt", "tags": ["x_refsource_MISC", "x_transferred"], "url": "https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---recurse-submodulesltpathspecgt"}, {"name": "https://git-scm.com/docs/git-config#Documentation/git-config.txt-coresymlinks", "tags": ["x_refsource_MISC", "x_transferred"], "url": "https://git-scm.com/docs/git-config#Documentation/git-config.txt-coresymlinks"}, {"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/S4CK4IYTXEOBZTEM5K3T6LWOIZ3S44AR/", "tags": ["x_transferred"]}, {"url": "http://www.openwall.com/lists/oss-security/2024/05/14/2", "tags": ["x_transferred"]}, {"url": "https://lists.debian.org/debian-lts-announce/2024/06/msg00018.html", "tags": ["x_transferred"]}]}]}, "dataVersion": "5.1"}