Multiple vulnerabilities in Composer



| Updated: 2024-07-02
Risk High
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2024-35241
CVE-2024-35242
CWE-ID CWE-77
Exploitation vector Network
Public exploit N/A
Vulnerable software
composer
Other software / Other software solutions

Vendor getcomposer.org

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Command Injection

EUVDB-ID: #VU91684

Risk: High

CVSSv4.0: 8.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2024-35241

CWE-ID: CWE-77 - Command injection

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary commands on the target system.

The vulnerability exists due to improper input validation in the "status", "reinstall" and "remove" commands within git branch name. A remote attacker can pass specially crafted data to the application and execute arbitrary commands on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

composer: 2.0.0 - 2.7.6

CPE2.3 External links

https://github.com/composer/composer/security/advisories/GHSA-47f6-5gq3-vx9c
https://github.com/composer/composer/commit/b93fc6ca437da35ae73d667d0618749c763b67d4
https://github.com/composer/composer/commit/ee28354ca8d33c15949ad7de2ce6656ba3f68704
https://github.com/composer/composer/releases/tag/2.2.24
https://github.com/composer/composer/releases/tag/2.7.7


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Command Injection

EUVDB-ID: #VU91685

Risk: High

CVSSv4.0: 8.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2024-35242

CWE-ID: CWE-77 - Command injection

Exploit availability: No

Mitigation

Install updates from vendor's website.

Vulnerable software versions

composer: 2.0.0 - 2.7.6

CPE2.3 External links

https://github.com/composer/composer/security/advisories/GHSA-v9qv-c7wm-wgmf
https://github.com/composer/composer/commit/6bd43dff859c597c09bd03a7e7d6443822d0a396
https://github.com/composer/composer/commit/fc57b93603d7d90b71ca8ec77b1c8a9171fdb467
https://github.com/composer/composer/releases/tag/2.2.24
https://github.com/composer/composer/releases/tag/2.7.7


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###