Show plain JSON{"dataType": "CVE_RECORD", "cveMetadata": {"cveId": "CVE-2024-35242", "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "state": "PUBLISHED", "assignerShortName": "GitHub_M", "dateReserved": "2024-05-14T15:39:41.786Z", "datePublished": "2024-06-10T21:23:44.040Z", "dateUpdated": "2025-02-13T17:52:34.786Z"}, "containers": {"cna": {"title": "Composer vulnerable to command injection via malicious git/hg branch names", "problemTypes": [{"descriptions": [{"cweId": "CWE-77", "lang": "en", "description": "CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')", "type": "CWE"}]}], "metrics": [{"cvssV3_1": {"attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 8.8, "baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "REQUIRED", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", "version": "3.1"}}], "references": [{"name": "https://github.com/composer/composer/security/advisories/GHSA-v9qv-c7wm-wgmf", "tags": ["x_refsource_CONFIRM"], "url": "https://github.com/composer/composer/security/advisories/GHSA-v9qv-c7wm-wgmf"}, {"name": "https://github.com/composer/composer/commit/6bd43dff859c597c09bd03a7e7d6443822d0a396", "tags": ["x_refsource_MISC"], "url": "https://github.com/composer/composer/commit/6bd43dff859c597c09bd03a7e7d6443822d0a396"}, {"name": "https://github.com/composer/composer/commit/fc57b93603d7d90b71ca8ec77b1c8a9171fdb467", "tags": ["x_refsource_MISC"], "url": "https://github.com/composer/composer/commit/fc57b93603d7d90b71ca8ec77b1c8a9171fdb467"}, {"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VLPJHM2WWSYU2F6KHW2BYFGYL4IGTKHC/"}, {"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PO4MU2BC7VR6LMHEX4X7DKGHVFXZV2MC/"}], "affected": [{"vendor": "composer", "product": "composer", "versions": [{"version": ">= 2.0, < 2.2.24", "status": "affected"}, {"version": ">= 2.3, < 2.7.7", "status": "affected"}]}], "providerMetadata": {"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "shortName": "GitHub_M", "dateUpdated": "2024-06-20T03:05:53.866Z"}, "descriptions": [{"lang": "en", "value": "Composer is a dependency manager for PHP. On the 2.x branch prior to versions 2.2.24 and 2.7.7, the `composer install` command running inside a git/hg repository which has specially crafted branch names can lead to command injection. This requires cloning untrusted repositories. Patches are available in version 2.2.24 for 2.2 LTS or 2.7.7 for mainline. As a workaround, avoid cloning potentially compromised repositories."}], "source": {"advisory": "GHSA-v9qv-c7wm-wgmf", "discovery": "UNKNOWN"}}, "adp": [{"affected": [{"vendor": "fedoraproject", "product": "fedora", "cpes": ["cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*", "cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:*"], "defaultStatus": "unknown", "versions": [{"version": "39", "status": "affected"}, {"version": "40", "status": "affected"}]}, {"vendor": "getcomposer", "product": "composer", "cpes": ["cpe:2.3:a:getcomposer:composer:2.0:*:*:*:*:*:*:*"], "defaultStatus": "unknown", "versions": [{"version": "2.0", "status": "affected", "lessThan": "2.2.24", "versionType": "custom"}]}, {"vendor": "getcomposer", "product": "composer", "cpes": ["cpe:2.3:a:getcomposer:composer:2.3:*:*:*:*:*:*:*"], "defaultStatus": "unknown", "versions": [{"version": "2.3", "status": "affected", "lessThan": "2.7.7", "versionType": "custom"}]}], "metrics": [{"other": {"type": "ssvc", "content": {"timestamp": "2024-07-15T20:44:05.596723Z", "id": "CVE-2024-35242", "options": [{"Exploitation": "none"}, {"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-07-15T20:44:10.241Z"}}, {"providerMetadata": {"orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE", "dateUpdated": "2024-08-02T03:07:46.921Z"}, "title": "CVE Program Container", "references": [{"name": "https://github.com/composer/composer/security/advisories/GHSA-v9qv-c7wm-wgmf", "tags": ["x_refsource_CONFIRM", "x_transferred"], "url": "https://github.com/composer/composer/security/advisories/GHSA-v9qv-c7wm-wgmf"}, {"name": "https://github.com/composer/composer/commit/6bd43dff859c597c09bd03a7e7d6443822d0a396", "tags": ["x_refsource_MISC", "x_transferred"], "url": "https://github.com/composer/composer/commit/6bd43dff859c597c09bd03a7e7d6443822d0a396"}, {"name": "https://github.com/composer/composer/commit/fc57b93603d7d90b71ca8ec77b1c8a9171fdb467", "tags": ["x_refsource_MISC", "x_transferred"], "url": "https://github.com/composer/composer/commit/fc57b93603d7d90b71ca8ec77b1c8a9171fdb467"}, {"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VLPJHM2WWSYU2F6KHW2BYFGYL4IGTKHC/", "tags": ["x_transferred"]}, {"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PO4MU2BC7VR6LMHEX4X7DKGHVFXZV2MC/", "tags": ["x_transferred"]}]}]}, "dataVersion": "5.1"}