For projects that authenticate to a Composer repository using an inline HTTP header credential, a crafted composer.lock or vendor/composer/installed.json could cause that credential to be sent to a download mirror on an attacker-controlled host during composer install. This is an information disclosure issue limited to that repository credential. There is no code execution and no file modification.
You are affected if all of the following hold:
Authorization bearer token or an API key set in the repository's options (common with Private Packagist and Satis-style setups).composer.lock or vendor/composer/installed.json, for example through a pull request that edits the lock file, a committed lock in a shared project, or a poisoned CI cache.
When those hold, a crafted entry can add a preferred download mirror pointing at a host the attacker controls, and the repository credential is then sent to that host.
You are plainly not affected if your repositories do not use an inline header credential, or if you are on a release that does not re-attach repository headers at load time (any version other than 2.11.0, 2.11.1, and 2.2.31).Fixed in 2.11.2 and 2.2.32.
The only complete fix is upgrading.
소스: NVD
무료 취약점 평가
9개 보안 영역에서 클라우드 보안 관행을 평가하여 위험 수준을 벤치마킹하고 방어의 허점을 파악하세요.
맞춤형 데모를 받아보세요
"내가 본 최고의 사용자 경험은 클라우드 워크로드에 대한 완전한 가시성을 제공합니다."
"Wiz는 클라우드 환경에서 무슨 일이 일어나고 있는지 볼 수 있는 단일 창을 제공합니다."
"우리는 Wiz가 무언가를 중요한 것으로 식별하면 실제로 중요하다는 것을 알고 있습니다."