Skip to content
Connect AISign inSign up free
CVE-2022-248288.3HighCWE-20

CVE-2022-24828: Missing input validation can lead to command execution in composer

composer

Vendor fix available · Affected: composer · Exploitation: possible (1 to 10%)

Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.

1.9%probability of exploitation in the next 30 days
79th percentile
050100

Higher than 79% of scored CVEs

8.3HighCVSS 3.1
LowHigh

DescriptionCVE.org

Composer is a dependency manager for the PHP programming language. Integrators using Composer code to call `VcsDriver::getFileContent` can have a code injection vulnerability if the user can control the `$file` or `$identifier` argument. This leads to a vulnerability on packagist.org for example where the composer.json's `readme` field can be used as a vector for injecting parameters into hg/Mercurial via the `$file` argument, or git via the `$identifier` argument if you allow arbitrary data there (Packagist does not, but maybe other integrators do). Composer itself should not be affected by the vulnerability as it does not call `getFileContent` with arbitrary data into `$file`/`$identifier`. To the best of our knowledge this was not abused, and the vulnerability has been patched on packagist.org and Private Packagist within a day of the vulnerability report.

Affected products1

From the CVE record. A product or version that is not listed is unknown, not unaffected.

  • composer · composer< 1.10.26; >= 2.0.0, < 2.2.12; >= 2.3, < 2.3.6

On the Atlas

Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.

Open the Atlas
Exploitation
Possible (1 to 10%). EPSS between 1% and 10%.
CISA KEV
Not listed
Public check
No public nuclei template
Vendor
composer
Published
April 2022

CoverageNo articles yet

No CyberSIXT article names CVE-2022-24828 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.

References