Bug 1215859 (CVE-2023-43655) - VUL-0: CVE-2023-43655: php-composer2: composer: Remote Code Execution via web-accessible composer.phar
Summary: VUL-0: CVE-2023-43655: php-composer2: composer: Remote Code Execution via web...
Status: RESOLVED FIXED
Alias: CVE-2023-43655
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/380399/
Whiteboard: CVSSv3.1:SUSE:CVE-2023-43655:6.4:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-02 07:48 UTC by SMASH SMASH
Modified: 2024-05-29 17:56 UTC (History)
2 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2023-10-02 07:48:11 UTC
Composer is a dependency manager for PHP. Users publishing a composer.phar to a
public web-accessible server where the composer.phar can be executed as a php
file may be subject to a remote code execution vulnerability if PHP also has
`register_argc_argv` enabled in php.ini. Versions 2.6.4, 2.2.22 and 1.10.27
patch this vulnerability. Users are advised to upgrade. Users unable to upgrade
should make sure `register_argc_argv` is disabled in php.ini, and avoid
publishing composer.phar to the web as this is not best practice.


References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-43655
Comment 2 Petr Gajdos 2023-10-02 10:18:31 UTC
Submit into develproject:
https://build.opensuse.org/request/show/1114790

Also submitted for 15sp4/php-composer2.
Comment 4 Petr Gajdos 2023-10-03 08:44:34 UTC
Submitted also into Factory.

I believe all fixed.
Comment 5 OBSbugzilla Bot 2023-10-03 10:35:03 UTC
This is an autogenerated message for OBS integration:
This bug (1215859) was mentioned in
https://build.opensuse.org/request/show/1114950 Factory / php-composer2
Comment 6 Maintenance Automation 2023-10-10 20:28:44 UTC
SUSE-SU-2023:4041-1: An update that solves one vulnerability can now be installed.

Category: security (moderate)
Bug References: 1215859
CVE References: CVE-2023-43655
Sources used:
openSUSE Leap 15.4 (src): php-composer2-2.2.3-150400.3.6.1
openSUSE Leap 15.5 (src): php-composer2-2.2.3-150400.3.6.1
Web and Scripting Module 15-SP4 (src): php-composer2-2.2.3-150400.3.6.1
Web and Scripting Module 15-SP5 (src): php-composer2-2.2.3-150400.3.6.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.