
CVE catalog
CVE-2022-24828
Composer vulnerabilities
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.
- Severity
- High · CVSS 7
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.89% · Oct 27, 2026
Projects and upstream resources
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debiantrixie | composer | 2.2.12-1 | FixedDistribution-reported fixed boundary | [CVE-2022-24828] |
| Debiantrixie | composer | 2.8.8-1+deb13u3 | Fixed | [CVE-2022-24828] |
| Debiansid | composer | 2.10.3-1 | Fixed | [CVE-2022-24828] |
| Debiansid | composer | 2.2.12-1 | FixedDistribution-reported fixed boundary | [CVE-2022-24828] |
| Debianforky | composer | 2.10.3-1 | Fixed | [CVE-2022-24828] |
| Debianforky | composer | 2.2.12-1 | FixedDistribution-reported fixed boundary | [CVE-2022-24828] |
| Debianbookworm-security | composer | 2.5.5-1+deb12u2 | Fixed | [CVE-2022-24828] |
| Debianbookworm | composer | 2.2.12-1 | FixedDistribution-reported fixed boundary | [CVE-2022-24828] |
| Debianbookworm | composer | 2.5.5-1+deb12u5 | Fixed | [CVE-2022-24828] |
Showing 9 fix observations. All 25 observations, including unknown and conflicting reports, are available below.
Provider details and historical evidence
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| UnknownRelease not reported | composer | 2.7.1-2ubuntu0.1~esm1 | UnknownSource applicability is not established | Provider not reported |
| Debianbookworm | composer | 2.2.12-1 | FixedDistribution-reported fixed boundary | [CVE-2022-24828] |
| Debianbookworm | composer | 2.5.5-1+deb12u5 | Fixed | [CVE-2022-24828] |
| Debianbookworm-security | composer | 2.5.5-1+deb12u2 | Fixed | [CVE-2022-24828] |
| Debianforky | composer | 2.10.3-1 | Fixed | [CVE-2022-24828] |
| Debianforky | composer | 2.2.12-1 | FixedDistribution-reported fixed boundary | [CVE-2022-24828] |
| Debiansid | composer | 2.10.3-1 | Fixed | [CVE-2022-24828] |
| Debiansid | composer | 2.2.12-1 | FixedDistribution-reported fixed boundary | [CVE-2022-24828] |
| Debiantrixie | composer | 2.2.12-1 | FixedDistribution-reported fixed boundary | [CVE-2022-24828] |
| Debiantrixie | composer | 2.8.8-1+deb13u3 | Fixed | [CVE-2022-24828] |
| Opensuseleap 15.4 | php-composer2 | 2.2.3-150400.3.3.1 | UnknownSource applicability is not established | [SUSE-SU-2022:3020-1] |
| Opensusetumbleweed | php-composer | 1.10.26-1.1 | UnknownSource applicability is not established | [OPENSUSE-SU-2024:12054-1] |
| Opensusetumbleweed | php-composer2 | 2.3.5-1.1 | UnknownSource applicability is not established | [OPENSUSE-SU-2024:12048-1] |
| Suselinux enterprise module for web and scripting 15 sp4 | php-composer2 | 2.2.3-150400.3.3.1 | UnknownSource applicability is not established | [SUSE-SU-2022:3020-1] |
| Ubuntupro | composer | 2.0.13-1ubuntu1 | UnknownSource applicability is not established | [UBUNTU-CVE-2022-24828] |
| Ubuntupro | composer | 2.0.9-2ubuntu2 | UnknownSource applicability is not established | [UBUNTU-CVE-2022-24828] |
| Ubuntupro | composer | 2.0.9-2ubuntu3 | UnknownSource applicability is not established | [UBUNTU-CVE-2022-24828] |
| Ubuntupro | composer | 2.1.12-1ubuntu1 | UnknownSource applicability is not established | [UBUNTU-CVE-2022-24828] |
| Ubuntupro | composer | 2.2.6-2ubuntu4 | UnknownSource applicability is not established | [UBUNTU-CVE-2022-24828] |
| Ubuntupro | composer | 2.2.6-2ubuntu4+esm1 | UnknownSource applicability is not established | [UBUNTU-CVE-2022-24828] |
| Ubuntupro | composer | 2.5.8-1 | UnknownSource applicability is not established | [USN-7603-1] |
| Ubuntupro | composer | 2.6.5-1 | UnknownSource applicability is not established | [USN-7603-1] |
| Ubuntupro | composer | 2.6.6-1 | UnknownSource applicability is not established | [USN-7603-1] |
| Ubuntupro | composer | 2.7.1-2 | UnknownSource applicability is not established | [USN-7603-1] |
| Ubuntupro | composer | 2.7.1-2ubuntu0.1~esm1 | UnknownSource applicability is not established | [USN-7603-1] |
Original provider fields
{
"package_releases": [
{
"name": "composer",
"status": "fixed",
"release": "sid",
"version": "2.10.3-1"
},
{
"name": "composer",
"status": "fixed",
"release": "forky",
"version": "2.10.3-1"
},
{
"name": "composer",
"status": "fixed",
"release": "trixie",
"version": "2.8.8-1+deb13u3"
},
{
"name": "composer",
"status": "fixed",
"release": "bookworm",
"version": "2.5.5-1+deb12u5"
},
{
"name": "composer",
"status": "fixed",
"release": "bookworm-security",
"version": "2.5.5-1+deb12u2"
}
],
"fixed_versions": [
{
"bug": 1009960,
"name": "composer",
"type": "source",
"origin": null,
"release": "sid",
"urgency": "not yet assigned",
"fixed_version": "2.2.12-1"
},
{
"bug": 1009960,
"name": "composer",
"type": "source",
"origin": null,
"release": "forky",
"urgency": "not yet assigned",
"fixed_version": "2.2.12-1"
},
{
"bug": 1009960,
"name": "composer",
"type": "source",
"origin": null,
"release": "trixie",
"urgency": "not yet assigned",
"fixed_version": "2.2.12-1"
},
{
"bug": 1009960,
"name": "composer",
"type": "source",
"origin": null,
"release": "bookworm",
"urgency": "not yet assigned",
"fixed_version": "2.2.12-1"
}
],
"distribution_packages": [
{
"name": "composer",
"fixed_version": "2.7.1-2ubuntu0.1~esm1",
"applicability_unknown": true
},
{
"name": "composer",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.7.1-2ubuntu0.1~esm1"
}
]
}
],
"release": "pro",
"versions": [
"2.5.8-1",
"2.6.5-1",
"2.6.6-1",
"2.7.1-2"
],
"ecosystem": "deb",
"provider_url": "https://osv.dev/vulnerability/USN-7603-1",
"fixed_version": "2.7.1-2ubuntu0.1~esm1",
"provider_source": "pypi",
"provider_record_id": "USN-7603-1",
"provider_updated_at": "2026-06-25T13:32:30.436343581Z",
"applicability_unknown": true
},
{
"name": "php-composer2",
"distro": "suse",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.2.3-150400.3.3.1"
}
]
}
],
"release": "linux enterprise module for web and scripting 15 sp4",
"versions": [],
"ecosystem": "rpm",
"provider_url": "https://osv.dev/vulnerability/SUSE-SU-2022:3020-1",
"fixed_version": "2.2.3-150400.3.3.1",
"provider_source": "pypi",
"provider_record_id": "SUSE-SU-2022:3020-1",
"provider_updated_at": "2026-02-04T04:18:31.657330Z",
"applicability_unknown": true
},
{
"name": "php-composer2",
"distro": "opensuse",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.2.3-150400.3.3.1"
}
]
}
],
"release": "leap 15.4",
"versions": [],
"ecosystem": "rpm",
"provider_url": "https://osv.dev/vulnerability/SUSE-SU-2022:3020-1",
"fixed_version": "2.2.3-150400.3.3.1",
"provider_source": "pypi",
"provider_record_id": "SUSE-SU-2022:3020-1",
"provider_updated_at": "2026-02-04T04:18:31.657330Z",
"applicability_unknown": true
},
{
"name": "php-composer2",
"distro": "opensuse",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.3.5-1.1"
}
]
}
],
"release": "tumbleweed",
"versions": [],
"ecosystem": "rpm",
"provider_url": "https://osv.dev/vulnerability/openSUSE-SU-2024:12048-1",
"fixed_version": "2.3.5-1.1",
"provider_source": "pypi",
"provider_record_id": "OPENSUSE-SU-2024:12048-1",
"provider_updated_at": "2026-02-04T03:56:34.941327Z",
"applicability_unknown": true
},
{
"name": "composer",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.2.6-2ubuntu4+esm1"
}
]
}
],
"release": "pro",
"versions": [
"2.0.9-2ubuntu2",
"2.0.9-2ubuntu3",
"2.0.13-1ubuntu1",
"2.1.12-1ubuntu1",
"2.2.6-2ubuntu4"
],
"ecosystem": "deb",
"provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2022-24828",
"fixed_version": "2.2.6-2ubuntu4+esm1",
"provider_source": "pypi",
"provider_record_id": "UBUNTU-CVE-2022-24828",
"provider_updated_at": "2026-02-04T03:27:34.022818Z",
"applicability_unknown": true
},
{
"name": "php-composer",
"distro": "opensuse",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.10.26-1.1"
}
]
}
],
"release": "tumbleweed",
"versions": [],
"ecosystem": "rpm",
"provider_url": "https://osv.dev/vulnerability/openSUSE-SU-2024:12054-1",
"fixed_version": "1.10.26-1.1",
"provider_source": "pypi",
"provider_record_id": "OPENSUSE-SU-2024:12054-1",
"provider_updated_at": "2026-02-04T02:16:31.414875Z",
"applicability_unknown": true
}
]
}OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [composer]Unknown
Details (4)
2.5.5-1+deb12u5· all · bookwormFixed · Fixed:
2.2.12-1usn · composer · debian · bookworm
2.5.5-1+deb12u5· all · bookwormFixed · Fixed:
2.2.12-1usn · composer · debian · bookworm
2.5.5-1+deb12u2· all · bookworm-securityFixed · Fixed:
2.2.12-1usn · composer · debian · bookworm
2.5.5-1+deb12u2· all · bookworm-securityFixed · Fixed:
2.2.12-1usn · composer · debian · bookworm
[openSUSE Tumbleweed]
- [php-composer]Unknown
Source package: [php-composer]
Details (1)
1.10.26-2.8· noarch · tumbleweedFixed · Fixed:
1.10.26-1.1usn · php-composer · opensuse · tumbleweed
- [php-composer2]Unknown
Source package: [php-composer2]
Details (1)
2.10.3-1.1· noarch · tumbleweedFixed · Fixed:
2.3.5-1.1usn · php-composer2 · opensuse · tumbleweed
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2026_1970-1.json]
- [https://osv.dev/vulnerability/SUSE-SU-2022:3020-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2022-24828]
- [https://osv.dev/vulnerability/USN-7603-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:12048-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:12054-1]
- [https://security-tracker.debian.org/tracker/CVE-2022-24828]
- [https://ubuntu.com/security/notices/USN-7603-1]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]