CVE-2022-24828 is a code injection vulnerability in Composer, a PHP dependency manager, affecting integrators that use VcsDriver::getFileContent with user-controlled input. This flaw could allow attackers to inject parameters into version control systems like Mercurial or Git, potentially leading to a supply chain attack. The vulnerability carries a high CVSS score of 8.8, indicating a critical risk with network-based attacks, low attack complexity, and high impact on confidentiality, integrity, and availability. While Composer itself is not directly affected, integrators like Packagist.org were vulnerable, though patches were deployed quickly. There is no evidence of active exploitation, and no public exploit code is available, but it has garnered some community and media attention.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
< 1.10.26CPE matchmatch criteria | cpe:2.3:a:getcomposer:composer:*:*:*:*:*:*:*:* | ||
>= 2.0.0, < 2.2.12CPE matchmatch criteria | cpe:2.3:a:getcomposer:composer:*:*:*:*:*:*:*:* | ||
>= 2.3.0, < 2.3.5CPE matchmatch criteria | cpe:2.3:a:getcomposer:composer:*:*:*:*:*:*:*:* | ||
< 5.21.0CPE matchmatch criteria | cpe:2.3:a:tenable:tenable.sc:*:*:*:*:*:*:*:* | ||
34CPE matchmatch criteria | cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* |
CVSS version used by this source: 3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.2 Bluesky, 0.1 Mastodon, and 0.2 GitHub mentions.
The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.1 Security Researcher mentions.