SB2025080641 - Gentoo update for Composer
Published: August 6, 2025
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 2 secuirty vulnerabilities.
1) OS Command Injection (CVE-ID: CVE-2022-24828)
The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.
The vulnerability exists due to improper input validation within the VcsDriver::getFileContent() method when parsing $file or $identifier arguments. A remote attacker can pass specially crafted data to the application and execute arbitrary OS commands on the target system, if the Mercurial or the Git driver are used.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
2) Code Injection (CVE-ID: CVE-2023-43655)
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to improper access restrictions. A remote attacker can send a specially crafted request to the server with published composer.phar and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system but requires that "register_argc_argv" option is enabled in php.ini.
Remediation
Install update from vendor's website.