mirror of
https://github.com/0xMarcio/cve.git
synced 2025-11-28 18:48:49 +00:00
19 lines
1.1 KiB
Markdown
19 lines
1.1 KiB
Markdown
### [CVE-2024-35242](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-35242)
|
|

|
|

|
|
&color=brighgreen)
|
|
|
|
### Description
|
|
|
|
Composer is a dependency manager for PHP. On the 2.x branch prior to versions 2.2.24 and 2.7.7, the `composer install` command running inside a git/hg repository which has specially crafted branch names can lead to command injection. This requires cloning untrusted repositories. Patches are available in version 2.2.24 for 2.2 LTS or 2.7.7 for mainline. As a workaround, avoid cloning potentially compromised repositories.
|
|
|
|
### POC
|
|
|
|
#### Reference
|
|
No PoCs from references.
|
|
|
|
#### Github
|
|
- https://github.com/KKkai0315/CVE-2024-35242
|
|
- https://github.com/nomi-sec/PoC-in-GitHub
|
|
|