250 lines
11 KiB
JSON
250 lines
11 KiB
JSON
{
|
|
"dataType": "CVE_RECORD",
|
|
"cveMetadata": {
|
|
"cveId": "CVE-2024-35241",
|
|
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
|
|
"state": "PUBLISHED",
|
|
"assignerShortName": "GitHub_M",
|
|
"dateReserved": "2024-05-14T15:39:41.786Z",
|
|
"datePublished": "2024-06-10T21:19:47.123Z",
|
|
"dateUpdated": "2025-04-21T15:20:35.089Z"
|
|
},
|
|
"containers": {
|
|
"cna": {
|
|
"title": "Composer vulnerable to command injection via malicious git branch name",
|
|
"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-47f6-5gq3-vx9c",
|
|
"tags": [
|
|
"x_refsource_CONFIRM"
|
|
],
|
|
"url": "https://github.com/composer/composer/security/advisories/GHSA-47f6-5gq3-vx9c"
|
|
},
|
|
{
|
|
"name": "https://github.com/composer/composer/commit/b93fc6ca437da35ae73d667d0618749c763b67d4",
|
|
"tags": [
|
|
"x_refsource_MISC"
|
|
],
|
|
"url": "https://github.com/composer/composer/commit/b93fc6ca437da35ae73d667d0618749c763b67d4"
|
|
},
|
|
{
|
|
"name": "https://github.com/composer/composer/commit/ee28354ca8d33c15949ad7de2ce6656ba3f68704",
|
|
"tags": [
|
|
"x_refsource_MISC"
|
|
],
|
|
"url": "https://github.com/composer/composer/commit/ee28354ca8d33c15949ad7de2ce6656ba3f68704"
|
|
},
|
|
{
|
|
"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:52.267Z"
|
|
},
|
|
"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 `status`, `reinstall` and `remove` commands with packages installed from source via git containing specially crafted branch names in the repository can be used to execute code. Patches for this issue are available in version 2.2.24 for 2.2 LTS or 2.7.7 for mainline. As a workaround, avoid installing dependencies via git by using `--prefer-dist` or the `preferred-install: dist` config setting."
|
|
}
|
|
],
|
|
"source": {
|
|
"advisory": "GHSA-47f6-5gq3-vx9c",
|
|
"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:42:58.759423Z",
|
|
"id": "CVE-2024-35241",
|
|
"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:43:01.084Z"
|
|
}
|
|
},
|
|
{
|
|
"providerMetadata": {
|
|
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
|
|
"shortName": "CVE",
|
|
"dateUpdated": "2025-04-21T15:20:35.089Z"
|
|
},
|
|
"references": [
|
|
{
|
|
"url": "https://www.vicarius.io/vsociety/posts/cve-2024-35241-detect-composer-vulnerability"
|
|
},
|
|
{
|
|
"url": "https://www.vicarius.io/vsociety/posts/cve-2024-35241-mitigate-vulnerable-composer"
|
|
},
|
|
{
|
|
"name": "https://github.com/composer/composer/security/advisories/GHSA-47f6-5gq3-vx9c",
|
|
"tags": [
|
|
"x_refsource_CONFIRM",
|
|
"x_transferred"
|
|
],
|
|
"url": "https://github.com/composer/composer/security/advisories/GHSA-47f6-5gq3-vx9c"
|
|
},
|
|
{
|
|
"name": "https://github.com/composer/composer/commit/b93fc6ca437da35ae73d667d0618749c763b67d4",
|
|
"tags": [
|
|
"x_refsource_MISC",
|
|
"x_transferred"
|
|
],
|
|
"url": "https://github.com/composer/composer/commit/b93fc6ca437da35ae73d667d0618749c763b67d4"
|
|
},
|
|
{
|
|
"name": "https://github.com/composer/composer/commit/ee28354ca8d33c15949ad7de2ce6656ba3f68704",
|
|
"tags": [
|
|
"x_refsource_MISC",
|
|
"x_transferred"
|
|
],
|
|
"url": "https://github.com/composer/composer/commit/ee28354ca8d33c15949ad7de2ce6656ba3f68704"
|
|
},
|
|
{
|
|
"tags": [
|
|
"x_transferred"
|
|
],
|
|
"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/"
|
|
}
|
|
],
|
|
"title": "CVE Program Container",
|
|
"x_generator": {
|
|
"engine": "ADPogram 0.0.1"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"dataVersion": "5.1"
|
|
} |