Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-35242 PoC — Composer vulnerable to command injection via malicious git/hg branch names

Source
Associated Vulnerability
Title:Composer vulnerable to command injection via malicious git/hg branch names (CVE-2024-35242)
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.
Description
A test repository for the vulnerability CVE-2024-35242's PoC
Readme
# CVE-2024-35242
# CVE-2024-35242
File Snapshot

[4.0K] /data/pocs/d66f79b2da0d4ff72de140eb4060f31d080d981b └── [ 34] README.md 0 directories, 1 file
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →