A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
Composer is a dependency Manager for the PHP language. Prior to 1.10.28, 2.2.28, and 2.9.8, Composer\IO\BaseIO::loadConfiguration() validates GitHub OAuth tokens with the regex ^[.A-Za-z0-9_]+$ and interpolates rejected tokens into an UnexpectedValueException; GitHub Actions GITHUB_TOKEN values using the ghs_<id>_<base64url-JWT> format can contain -, fail validation, and be disclosed to stderr or CI logs. This issue is fixed in versions 1.10.28, 2.2.28, and 2.9.8.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /composer/composer/commit/3f5e7f9fbfa541137d6d1d5643ec3b718…
- github.com /composer/composer/commit/65e6390c49f1a11cd8b660d81822086db…
- github.com /composer/composer/commit/e66c8fdb7ff5409bd2f358c5f194038e4…
- github.com /composer/composer/pull/12853
- github.com /composer/composer/pull/12855
- github.com /composer/composer/releases/tag/1.10.28
- github.com /composer/composer/releases/tag/2.2.28
- github.com /composer/composer/releases/tag/2.9.8
- github.com /composer/composer/security/advisories/GHSA-f9f8-rm49-7jv2
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning