Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/60480?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/60480?format=api", "purl": "pkg:composer/composer/composer@2.3.5", "type": "composer", "namespace": "composer", "name": "composer", "version": "2.3.5", "qualifiers": {}, "subpath": "", "is_vulnerable": false, "next_non_vulnerable_version": "2.6.4", "latest_non_vulnerable_version": "2.9.8", "affected_by_vulnerabilities": [], "fixing_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/15594?format=api", "vulnerability_id": "VCID-xjjm-qjy8-aken", "summary": "Improper Input Validation\nComposer 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.", "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-24828", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.00211", "scoring_system": "epss", "scoring_elements": "0.43579", "published_at": "2026-05-30T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-24828" }, { "reference_url": "https://github.com/composer/composer/commit/2c40c53637c5c7e43fff7c09d3d324d632734709", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/composer/composer/commit/2c40c53637c5c7e43fff7c09d3d324d632734709" }, { "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/625MT3IKWKFVIWLSYZFSXHVUA2LES7YQ/", "reference_id": "", "reference_type": "", "scores": [], "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/625MT3IKWKFVIWLSYZFSXHVUA2LES7YQ/" }, { "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GWT6LDSRY7SFMTDZWJ4MS2ZBXHL7VQEF/", "reference_id": "", "reference_type": "", "scores": [], "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GWT6LDSRY7SFMTDZWJ4MS2ZBXHL7VQEF/" }, { "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QD7JQWL6C4GVROO25DTXWYWM6BPOPPCG/", "reference_id": "", "reference_type": "", "scores": [], "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QD7JQWL6C4GVROO25DTXWYWM6BPOPPCG/" }, { "reference_url": "https://www.tenable.com/security/tns-2022-09", "reference_id": "", "reference_type": "", "scores": [], "url": "https://www.tenable.com/security/tns-2022-09" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-24828", "reference_id": "CVE-2022-24828", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-24828" }, { "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/composer/composer/CVE-2022-24828.yaml", "reference_id": "CVE-2022-24828.YAML", "reference_type": "", "scores": [], "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/composer/composer/CVE-2022-24828.yaml" }, { "reference_url": "https://github.com/advisories/GHSA-x7cr-6qr6-2hh6", "reference_id": "GHSA-x7cr-6qr6-2hh6", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-x7cr-6qr6-2hh6" }, { "reference_url": "https://github.com/composer/composer/security/advisories/GHSA-x7cr-6qr6-2hh6", "reference_id": "GHSA-x7cr-6qr6-2hh6", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/composer/composer/security/advisories/GHSA-x7cr-6qr6-2hh6" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/60478?format=api", "purl": "pkg:composer/composer/composer@1.10.26", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/composer/composer@1.10.26" }, { "url": "http://public2.vulnerablecode.io/api/packages/60479?format=api", "purl": "pkg:composer/composer/composer@2.2.12", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/composer/composer@2.2.12" }, { "url": "http://public2.vulnerablecode.io/api/packages/60480?format=api", "purl": "pkg:composer/composer/composer@2.3.5", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/composer/composer@2.3.5" } ], "aliases": [ "CVE-2022-24828", "GHSA-x7cr-6qr6-2hh6" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-xjjm-qjy8-aken" } ], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/composer/composer@2.3.5" }