취약점 데이터베이스GHSA-w6hj-6587-3jh5

GHSA-w6hj-6587-3jh5: 
PHP 취약점 분석 및 완화

Summary

A malicious package archive could cause Composer to write a file outside the intended package directory during composer install, composer update, or composer require. Because the written file can be an application entry point or another file that later gets executed, this can lead to code execution. It is arbitrary file write, not a flaw triggered by normal Packagist-hosted packages, which do not carry the kind of archive entries required.

Am I affected?

You are affected if all of the following hold:

  • You run Composer 1.0.0 through 2.11.1.
  • You install packages whose distribution archive (zip) an attacker can control. In practice this means untrusted third-party Composer repositories, private or self-hosted repositories, artifact mirrors, or any attacker-controlled dist URL.
  • Your system has the unzip command available (standard on Linux and macOS) together with the PHP zip extension. When those hold, a crafted archive can redirect one of its entries so the content lands outside the package directory, for example overwriting a front controller in the project root, which yields code execution on the next request or command. You are plainly not affected if every package you install comes from a trusted source. Packagist.org-hosted archives generally do not contain the archive entries this relies on, so typical Packagist.org-only installs are not a realistic vector. The single most realistic way to get hit: adding or updating a package served by an untrusted or attacker-controlled repository or mirror.

Patched versions

Fixed in 2.11.2 and 2.2.32.

Workarounds

The only complete fix is upgrading.


소스: NVD

관련 PHP 취약점:

CVE ID

심각도

점수

기술

구성 요소 이름

CISA KEV 악용

수정 사항이 있습니다

출판일

GHSA-w6hj-6587-3jh5HIGH8.8
  • PHP logoPHP
  • composer/composer
아니요네Nov 10, 2026
GHSA-jhfp-4ppm-crmmHIGH8.8
  • PHP logoPHP
  • composer/composer
아니요네Nov 10, 2026
GHSA-r324-29wm-vcjmHIGH8.7
  • PHP logoPHP
  • waterhole/core
아니요네Nov 09, 2026
GHSA-9xfr-hv5p-95rwHIGH7.5
  • PHP logoPHP
  • fahlisaputra/laravel-minify
아니요네Nov 10, 2026
GHSA-x82q-x274-r6pqMEDIUM6.5
  • PHP logoPHP
  • composer/composer
아니요네Nov 10, 2026

무료 취약점 평가

클라우드 보안 포세를 벤치마킹하세요

9개 보안 영역에서 클라우드 보안 관행을 평가하여 위험 수준을 벤치마킹하고 방어의 허점을 파악하세요.

요청 평가

추가 Wiz 리소스

맞춤형 데모를 받아보세요

맞춤형 데모 신청하기

"내가 본 최고의 사용자 경험은 클라우드 워크로드에 대한 완전한 가시성을 제공합니다."
데이비드 에슬릭CISO
"Wiz는 클라우드 환경에서 무슨 일이 일어나고 있는지 볼 수 있는 단일 창을 제공합니다."
아담 플레처최고 보안 책임자(CSO)
"우리는 Wiz가 무언가를 중요한 것으로 식별하면 실제로 중요하다는 것을 알고 있습니다."
그렉 포니아토프스키위협 및 취약성 관리 책임자