You are viewing this page in an unauthorized frame window.
This is a potential security issue, you are being redirected to
https://nvd.nist.gov
An official website of the United States government
Official websites use .gov
A .gov website belongs to an official government organization in the United States.
Secure .gov websites use HTTPS
A lock () or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.
This vulnerability has been modified since it was last analyzed by the NVD. It is awaiting reanalysis which may result in further changes to the information provided.
Description
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.
Metrics
NVD enrichment efforts reference publicly available information to associate
vector strings. CVSS information contributed by other sources is also
displayed.
By selecting these links, you will be leaving NIST webspace.
We have provided these links to other web sites because they
may have information that would be of interest to you. No
inferences should be drawn on account of other sites being
referenced, or not, from this page. There may be other web
sites that are more appropriate for your purpose. NIST does
not necessarily endorse the views expressed, or concur with
the facts presented on these sites. Further, NIST does not
endorse any commercial products that may be mentioned on
these sites. Please address comments about this page to nvd@nist.gov.
CVE Modified by GitHub, Inc.11/06/2023 10:44:38 PM
Action
Type
Old Value
New Value
Added
Reference
GitHub, Inc. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/625MT3IKWKFVIWLSYZFSXHVUA2LES7YQ/ [No types assigned]
Added
Reference
GitHub, Inc. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GWT6LDSRY7SFMTDZWJ4MS2ZBXHL7VQEF/ [No types assigned]
Added
Reference
GitHub, Inc. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QD7JQWL6C4GVROO25DTXWYWM6BPOPPCG/ [No types assigned]
Removed
Reference
GitHub, Inc. https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/625MT3IKWKFVIWLSYZFSXHVUA2LES7YQ/
Removed
Reference
GitHub, Inc. https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GWT6LDSRY7SFMTDZWJ4MS2ZBXHL7VQEF/
Removed
Reference
GitHub, Inc. https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QD7JQWL6C4GVROO25DTXWYWM6BPOPPCG/
Reanalysis by NIST6/23/2023 3:22:47 PM
Action
Type
Old Value
New Value
Added
CWE
NIST CWE-88
Removed
CWE
NIST CWE-94
Modified Analysis by NIST9/09/2022 12:51:33 PM
Action
Type
Old Value
New Value
Changed
CPE Configuration
OR
*cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
*cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
OR
*cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
*cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
*cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/625MT3IKWKFVIWLSYZFSXHVUA2LES7YQ/ No Types Assigned
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/625MT3IKWKFVIWLSYZFSXHVUA2LES7YQ/ Mailing List, Third Party Advisory
OR
*cpe:2.3:a:getcomposer:composer:*:*:*:*:*:*:*:* versions up to (excluding) 1.10.26
*cpe:2.3:a:getcomposer:composer:*:*:*:*:*:*:*:* versions from (including) 2.0.0 up to (excluding) 2.2.12
*cpe:2.3:a:getcomposer:composer:*:*:*:*:*:*:*:* versions from (including) 2.3.0 up to (excluding) 2.3.5
Added
CPE Configuration
OR
*cpe:2.3:a:tenable:tenable.sc:*:*:*:*:*:*:*:* versions up to (excluding) 5.21.0
Added
CPE Configuration
OR
*cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
*cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
Changed
Reference Type
https://github.com/composer/composer/commit/2c40c53637c5c7e43fff7c09d3d324d632734709 No Types Assigned
https://github.com/composer/composer/commit/2c40c53637c5c7e43fff7c09d3d324d632734709 Patch, Third Party Advisory
Changed
Reference Type
https://github.com/composer/composer/security/advisories/GHSA-x7cr-6qr6-2hh6 No Types Assigned
https://github.com/composer/composer/security/advisories/GHSA-x7cr-6qr6-2hh6 Third Party Advisory
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GWT6LDSRY7SFMTDZWJ4MS2ZBXHL7VQEF/ No Types Assigned
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GWT6LDSRY7SFMTDZWJ4MS2ZBXHL7VQEF/ Mailing List, Third Party Advisory
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QD7JQWL6C4GVROO25DTXWYWM6BPOPPCG/ No Types Assigned
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QD7JQWL6C4GVROO25DTXWYWM6BPOPPCG/ Mailing List, Third Party Advisory
Changed
Reference Type
https://www.tenable.com/security/tns-2022-09 No Types Assigned
https://www.tenable.com/security/tns-2022-09 Patch, Third Party Advisory
Added
CVSS V2 Metadata
Victim must voluntarily interact with attack mechanism