{"document":{"aggregate_severity":{"namespace":"https://www.suse.com/support/security/rating/","text":"important"},"category":"csaf_security_advisory","csaf_version":"2.0","distribution":{"text":"Copyright 2024 SUSE LLC. All rights reserved.","tlp":{"label":"WHITE","url":"https://www.first.org/tlp/"}},"lang":"en","notes":[{"category":"summary","text":"Security update for php-composer2","title":"Title of the patch"},{"category":"description","text":"This update for php-composer2 fixes the following issues:\n\n- CVE-2022-24828: Fixed a code injection issue that affected\n  integrators using specific APIs to read untrusted input files (bsc#1198494).\n","title":"Description of the patch"},{"category":"details","text":"SUSE-2022-3020,SUSE-SLE-Module-Web-Scripting-15-SP4-2022-3020,openSUSE-SLE-15.4-2022-3020","title":"Patchnames"},{"category":"legal_disclaimer","text":"CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).","title":"Terms of use"}],"publisher":{"category":"vendor","contact_details":"https://www.suse.com/support/security/contact/","name":"SUSE Product Security Team","namespace":"https://www.suse.com/"},"references":[{"category":"external","summary":"SUSE ratings","url":"https://www.suse.com/support/security/rating/"},{"category":"self","summary":"URL of this CSAF notice","url":"https://ftp.suse.com/pub/projects/security/csaf/suse-su-2022_3020-1.json"},{"category":"self","summary":"URL for SUSE-SU-2022:3020-1","url":"https://www.suse.com/support/update/announcement/2022/suse-su-20223020-1/"},{"category":"self","summary":"E-Mail link for SUSE-SU-2022:3020-1","url":"https://lists.suse.com/pipermail/sle-security-updates/2022-September/012077.html"},{"category":"self","summary":"SUSE Bug 1198494","url":"https://bugzilla.suse.com/1198494"},{"category":"self","summary":"SUSE CVE CVE-2022-24828 page","url":"https://www.suse.com/security/cve/CVE-2022-24828/"}],"title":"Security update for php-composer2","tracking":{"current_release_date":"2022-09-05T09:23:20Z","generator":{"date":"2022-09-05T09:23:20Z","engine":{"name":"cve-database.git:bin/generate-csaf.pl","version":"1"}},"id":"SUSE-SU-2022:3020-1","initial_release_date":"2022-09-05T09:23:20Z","revision_history":[{"date":"2022-09-05T09:23:20Z","number":"1","summary":"Current version"}],"status":"final","version":"1"}},"product_tree":{"branches":[{"branches":[{"branches":[{"category":"product_version","name":"php-composer2-2.2.3-150400.3.3.1.noarch","product":{"name":"php-composer2-2.2.3-150400.3.3.1.noarch","product_id":"php-composer2-2.2.3-150400.3.3.1.noarch"}}],"category":"architecture","name":"noarch"},{"branches":[{"category":"product_name","name":"SUSE Linux Enterprise Module for Web and Scripting 15 SP4","product":{"name":"SUSE Linux Enterprise Module for Web and Scripting 15 SP4","product_id":"SUSE Linux Enterprise Module for Web and Scripting 15 SP4","product_identification_helper":{"cpe":"cpe:/o:suse:sle-module-web-scripting:15:sp4"}}},{"category":"product_name","name":"openSUSE Leap 15.4","product":{"name":"openSUSE Leap 15.4","product_id":"openSUSE Leap 15.4","product_identification_helper":{"cpe":"cpe:/o:opensuse:leap:15.4"}}}],"category":"product_family","name":"SUSE Linux Enterprise"}],"category":"vendor","name":"SUSE"}],"relationships":[{"category":"default_component_of","full_product_name":{"name":"php-composer2-2.2.3-150400.3.3.1.noarch as component of SUSE Linux Enterprise Module for Web and Scripting 15 SP4","product_id":"SUSE Linux Enterprise Module for Web and Scripting 15 SP4:php-composer2-2.2.3-150400.3.3.1.noarch"},"product_reference":"php-composer2-2.2.3-150400.3.3.1.noarch","relates_to_product_reference":"SUSE Linux Enterprise Module for Web and Scripting 15 SP4"},{"category":"default_component_of","full_product_name":{"name":"php-composer2-2.2.3-150400.3.3.1.noarch as component of openSUSE Leap 15.4","product_id":"openSUSE Leap 15.4:php-composer2-2.2.3-150400.3.3.1.noarch"},"product_reference":"php-composer2-2.2.3-150400.3.3.1.noarch","relates_to_product_reference":"openSUSE Leap 15.4"}]},"vulnerabilities":[{"cve":"CVE-2022-24828","ids":[{"system_name":"SUSE CVE Page","text":"https://www.suse.com/security/cve/CVE-2022-24828"}],"notes":[{"category":"general","text":"Composer is a dependency manager for the PHP programming language. Integrators using Composer code to call `VcsDriver::getFileContent` can have a code injection vulnerability if the user can control the `$file` or `$identifier` argument. This leads to a vulnerability on packagist.org for example where the composer.json's `readme` field can be used as a vector for injecting parameters into hg/Mercurial via the `$file` argument, or git via the `$identifier` argument if you allow arbitrary data there (Packagist does not, but maybe other integrators do). Composer itself should not be affected by the vulnerability as it does not call `getFileContent` with arbitrary data into `$file`/`$identifier`. To the best of our knowledge this was not abused, and the vulnerability has been patched on packagist.org and Private Packagist within a day of the vulnerability report.","title":"CVE description"}],"product_status":{"recommended":["SUSE Linux Enterprise Module for Web and Scripting 15 SP4:php-composer2-2.2.3-150400.3.3.1.noarch","openSUSE Leap 15.4:php-composer2-2.2.3-150400.3.3.1.noarch"]},"references":[{"category":"external","summary":"CVE-2022-24828","url":"https://www.suse.com/security/cve/CVE-2022-24828"},{"category":"external","summary":"SUSE Bug 1198494 for CVE-2022-24828","url":"https://bugzilla.suse.com/1198494"}],"remediations":[{"category":"vendor_fix","details":"To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n","product_ids":["SUSE Linux Enterprise Module for Web and Scripting 15 SP4:php-composer2-2.2.3-150400.3.3.1.noarch","openSUSE Leap 15.4:php-composer2-2.2.3-150400.3.3.1.noarch"]}],"scores":[{"cvss_v3":{"baseScore":7,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"products":["SUSE Linux Enterprise Module for Web and Scripting 15 SP4:php-composer2-2.2.3-150400.3.3.1.noarch","openSUSE Leap 15.4:php-composer2-2.2.3-150400.3.3.1.noarch"]}],"threats":[{"category":"impact","date":"2022-09-05T09:23:20Z","details":"important"}],"title":"CVE-2022-24828"}]}