Lookup for vulnerable packages by Package URL.

Purlpkg:composer/composer/composer@2.3.0
Typecomposer
Namespacecomposer
Namecomposer
Version2.3.0
Qualifiers
Subpath
Is_vulnerabletrue
Next_non_vulnerable_version1.0.0
Latest_non_vulnerable_version2.9.3
Affected_by_vulnerabilities
0
url VCID-52e4-4t6n-p3e9
vulnerability_id VCID-52e4-4t6n-p3e9
summary
Composer is vulnerable to ANSI sequence injection
Attackers controlling remote sources that Composer downloads from might in some way inject ANSI control characters in the terminal output of various Composer commands, causing mangled output and potentially leading to confusion or DoS of the terminal application.

There is no proven exploit and this has thus a low severity but Composer still published a CVE as it has potential for abuse, and Composer wants to be on the safe side informing users that they should upgrade.
references
0
reference_url https://github.com/composer/composer
reference_id
reference_type
scores
url https://github.com/composer/composer
1
reference_url https://github.com/composer/composer/commit/1d40a95c9d39a6b7f80d404ab30336c586da9917
reference_id
reference_type
scores
url https://github.com/composer/composer/commit/1d40a95c9d39a6b7f80d404ab30336c586da9917
2
reference_url https://github.com/composer/composer/commit/5db1876a76fdef76d3c4f8a27995c434c7a43e71
reference_id
reference_type
scores
url https://github.com/composer/composer/commit/5db1876a76fdef76d3c4f8a27995c434c7a43e71
3
reference_url https://github.com/composer/composer/releases/tag/2.2.26
reference_id
reference_type
scores
url https://github.com/composer/composer/releases/tag/2.2.26
4
reference_url https://github.com/composer/composer/releases/tag/2.9.3
reference_id
reference_type
scores
url https://github.com/composer/composer/releases/tag/2.9.3
5
reference_url https://nvd.nist.gov/vuln/detail/CVE-2025-67746
reference_id CVE-2025-67746
reference_type
scores
url https://nvd.nist.gov/vuln/detail/CVE-2025-67746
6
reference_url https://github.com/advisories/GHSA-59pp-r3rg-353g
reference_id GHSA-59pp-r3rg-353g
reference_type
scores
url https://github.com/advisories/GHSA-59pp-r3rg-353g
7
reference_url https://github.com/composer/composer/security/advisories/GHSA-59pp-r3rg-353g
reference_id GHSA-59pp-r3rg-353g
reference_type
scores
url https://github.com/composer/composer/security/advisories/GHSA-59pp-r3rg-353g
fixed_packages
0
url pkg:composer/composer/composer@2.9.3
purl pkg:composer/composer/composer@2.9.3
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/composer/composer@2.9.3
aliases CVE-2025-67746, GHSA-59pp-r3rg-353g
risk_score null
exploitability null
weighted_severity null
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-52e4-4t6n-p3e9
1
url VCID-8zzn-tauw-mydc
vulnerability_id VCID-8zzn-tauw-mydc
summary
Improper Input Validation
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.
references
0
reference_url https://github.com/composer/composer/commit/2c40c53637c5c7e43fff7c09d3d324d632734709
reference_id
reference_type
scores
url https://github.com/composer/composer/commit/2c40c53637c5c7e43fff7c09d3d324d632734709
1
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/
2
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/
3
reference_url https://www.tenable.com/security/tns-2022-09
reference_id
reference_type
scores
url https://www.tenable.com/security/tns-2022-09
4
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
5
reference_url https://github.com/advisories/GHSA-x7cr-6qr6-2hh6
reference_id GHSA-x7cr-6qr6-2hh6
reference_type
scores
url https://github.com/advisories/GHSA-x7cr-6qr6-2hh6
6
reference_url https://github.com/composer/composer/security/advisories/GHSA-x7cr-6qr6-2hh6
reference_id GHSA-x7cr-6qr6-2hh6
reference_type
scores
url https://github.com/composer/composer/security/advisories/GHSA-x7cr-6qr6-2hh6
fixed_packages
0
url pkg:composer/composer/composer@2.3.5
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-8zzn-tauw-mydc
2
url VCID-bfsn-ds7s-j3ha
vulnerability_id VCID-bfsn-ds7s-j3ha
summary
Composer Remote Code Execution vulnerability via web-accessible composer.phar
Users publishing a composer.phar to a public web-accessible server where the composer.phar can be executed as a php file may be impacted if PHP also has `register_argc_argv` enabled in php.ini.
references
0
reference_url https://github.com/composer/composer
reference_id
reference_type
scores
url https://github.com/composer/composer
1
reference_url https://github.com/composer/composer/commit/4fce14795aba98e40b6c4f5047305aba17a6120d
reference_id
reference_type
scores
url https://github.com/composer/composer/commit/4fce14795aba98e40b6c4f5047305aba17a6120d
2
reference_url https://github.com/composer/composer/commit/955a48e6319c8962e5cd421b07c00ab3c728968c
reference_id
reference_type
scores
url https://github.com/composer/composer/commit/955a48e6319c8962e5cd421b07c00ab3c728968c
3
reference_url https://github.com/composer/composer/commit/95e091c921037b7b6564942845e7b738f6b95c9c
reference_id
reference_type
scores
url https://github.com/composer/composer/commit/95e091c921037b7b6564942845e7b738f6b95c9c
4
reference_url https://lists.debian.org/debian-lts-announce/2024/03/msg00030.html
reference_id
reference_type
scores
url https://lists.debian.org/debian-lts-announce/2024/03/msg00030.html
5
reference_url https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/66H2WKFUO255T3BZTL72TNYJYH2XM5FG
reference_id
reference_type
scores
url https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/66H2WKFUO255T3BZTL72TNYJYH2XM5FG
6
reference_url https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7AWYAUZNH565NWPIKGEIYBWHYNM5JGAE
reference_id
reference_type
scores
url https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7AWYAUZNH565NWPIKGEIYBWHYNM5JGAE
7
reference_url https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KFOPGPW2KS37O3KJWBRGTUWHTXCQXBS2
reference_id
reference_type
scores
url https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KFOPGPW2KS37O3KJWBRGTUWHTXCQXBS2
8
reference_url https://nvd.nist.gov/vuln/detail/CVE-2023-43655
reference_id CVE-2023-43655
reference_type
scores
url https://nvd.nist.gov/vuln/detail/CVE-2023-43655
9
reference_url https://github.com/advisories/GHSA-jm6m-4632-36hf
reference_id GHSA-jm6m-4632-36hf
reference_type
scores
url https://github.com/advisories/GHSA-jm6m-4632-36hf
10
reference_url https://github.com/composer/composer/security/advisories/GHSA-jm6m-4632-36hf
reference_id GHSA-jm6m-4632-36hf
reference_type
scores
url https://github.com/composer/composer/security/advisories/GHSA-jm6m-4632-36hf
fixed_packages
0
url pkg:composer/composer/composer@2.6.4
purl pkg:composer/composer/composer@2.6.4
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/composer/composer@2.6.4
aliases CVE-2023-43655, GHSA-jm6m-4632-36hf
risk_score null
exploitability null
weighted_severity null
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-bfsn-ds7s-j3ha
Fixing_vulnerabilities
Risk_scorenull
Resource_urlhttp://public2.vulnerablecode.io/packages/pkg:composer/composer/composer@2.3.0