Information Exposure Affecting composer package, versions <0:2.10.2-1.amzn2023.0.1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.12% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-COMPOSER-18061715
  • published21 Jul 2026
  • disclosed8 Jul 2026

Introduced: 8 Jul 2026

CVE-2026-59947  (opens in a new tab)
CWE-215  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 composer to version 0:2.10.2-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2026-1941.

NVD Description

Note: Versions mentioned in the description apply only to the upstream composer package and not the composer package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

Composer is a dependency Manager for the PHP language. Prior to 2.2.29 and 2.10.2, when Composer is run with -vvv debug verbosity, it could print a credential embedded in the username slot of a repository or package URL, such as a GitHub Personal Access Token in https://TOKEN@host/, to debug output because AuthHelper, Url::sanitize, and ProcessExecutor did not sanitize username-only URL credentials. This issue is fixed in versions 2.2.29 and 2.10.2.

CVSS Base Scores

version 3.1