原始 OSV JSON{
"id": "GHSA-frqg-7g38-6gcf",
"aliases": [
"CVE-2021-41116"
],
"details": "### Impact\nWindows users running Composer to install untrusted dependencies are affected and should definitely upgrade for safety. Other OSs and WSL are not affected. \n\n### Patches\n1.10.23 and 2.1.9 fix the issue\n\n### Workarounds\nNone\n",
"summary": "Improper escaping of command arguments on Windows leading to command injection",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.10.23"
}
]
}
],
"package": {
"name": "composer/composer",
"ecosystem": "Packagist"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "2.0.0-alpha1"
},
{
"fixed": "2.1.9"
}
]
}
],
"package": {
"name": "composer/composer",
"ecosystem": "Packagist"
}
}
],
"modified": "2021-10-11T18:39:06Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N"
}
],
"published": "2021-10-05T20:23:18Z",
"references": [
{
"url": "https://github.com/composer/composer/security/advisories/GHSA-frqg-7g38-6gcf",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-41116",
"type": "ADVISORY"
},
{
"url": "https://github.com/composer/composer/commit/ca5e2f8d505fd3bfac6f7c85b82f2740becbc0aa",
"type": "WEB"
},
{
"url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/composer/composer/CVE-2021-41116.yaml",
"type": "WEB"
},
{
"url": "https://github.com/composer/composer",
"type": "PACKAGE"
},
{
"url": "https://www.sonarsource.com/blog/securing-developer-tools-package-managers",
"type": "WEB"
},
{
"url": "https://www.tenable.com/security/tns-2022-09",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-77"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2021-10-05T18:15:00Z",
"github_reviewed_at": "2021-10-05T18:44:04Z"
}
}