Composer: Path traversal in package bin field lets dependencies chmod arbitrary host files
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| composer | composer | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Getcomposer | Composer |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-gjfg-22fp-rrxx | Composer: Path traversal in package bin field lets dependencies chmod arbitrary host files |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.141% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Getcomposer
Getcomposer composer |
|
| Vendors & Products |
Getcomposer
Getcomposer composer |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Composer is a dependency Manager for the PHP language. Prior to 2.2.29 and 2.10.2, a Composer package bin entry containing .. path segments can resolve outside the package install directory and cause Composer's binary installation flow to chmod an existing host file to a world-readable and world-executable mode during composer install, update, or require. This issue is fixed in versions 2.2.29 and 2.10.2. | |
| Title | Composer: Path traversal in package bin field lets dependencies chmod arbitrary host files | |
| Weaknesses | CWE-22 CWE-732 |
|
| References |
|
|
| Metrics |
cvssV3_1
|