{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-22643 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2023-22643 is a medium-severity command injection vulnerability in SUSE Linux Enterprise Server for SAP 15-SP3, published on 7 Feb 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-22643 and fix it if it is affected.\n\nWhat it is: CVE-2023-22643 is a medium-severity command injection vulnerability in SUSE Linux Enterprise Server for SAP 15-SP3, published on 7 Feb 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2023-22643 in the wild and no public exploit code.\n\nAffected product: SUSE Linux Enterprise Server for SAP 15-SP3. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-22643/ (Markdown: https://insights.sbomify.com/CVE-2023-22643/index.md)","id":"CVE-2023-22643","markdown":"https://insights.sbomify.com/CVE-2023-22643/index.md","name":"CVE-2023-22643","record":{"aliases":["GHSA-7mcm-wrpj-6fwv","SUSE-SU-2023:0095-1","SUSE-SU-2023:0140-1","openSUSE-SU-2024:12626-1"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"SUSE package manager plugin","requires_auth":"none","summary":"Attackers can execute arbitrary code as root by tricking users into using specially crafted repository settings in the libzypp-plugin-appdata package.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"suse","cpe":[{"product":"libzypp-plugin-appdata","vendor":"opensuse"}],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"An Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in libzypp-plugin-appdata of SUSE Linux Enterprise Server for SAP 15-SP3; openSUSE Leap 15.4 allows attackers that can trick users to use specially crafted REPO_ALIAS, REPO_TYPE or REPO_METADATA_PATH settings to execute code as root. This issue affects: SUSE Linux Enterprise Server for SAP 15-SP3 libzypp-plugin-appdata versions prior to 1.0.1+git.20180426. openSUSE Leap 15.4 libzypp-plugin-appdata versions prior to 1.0.1+git.20180426.","ecosystems":["SUSE:Enterprise Storage 6","SUSE:Enterprise Storage 7","SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise Module for Desktop Applications 15 SP4","SUSE:Linux Enterprise Module for Package Hub 15 SP4","SUSE:Linux Enterprise Real Time 15 SP3","SUSE:Linux Enterprise Server 15 SP1-LTSS","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server 15 SP3-LTSS","SUSE:Linux Enterprise Server for SAP Applications 15 SP1","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","openSUSE:Leap 15.4"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"libzypp-plugin-appdata: potential arbitrary code execution via shell injection due to `os.system` calls","id":"CVE-2023-22643","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2023"},"n_packages":17,"n_references":1,"next":{"headline":"JWT token compromise can allow malicious actions including Remote Code Execution (RCE)","id":"CVE-2023-22644"},"packages":[{"ecosystem":"SUSE:Enterprise Storage 6","fixed":["1.0.1+git.20180426-150100.8.3.1"],"introduced":["0"],"last_affected":[],"package":"libzypp-plugin-appdata","purl":"pkg:rpm/suse/libzypp-plugin-appdata\u0026distro=SUSE%20Enterprise%20Storage%206","source":"SUSE-SU-2023:0140-1"},{"ecosystem":"SUSE:Enterprise Storage 7","fixed":["1.0.1+git.20180426-150100.8.3.1"],"introduced":["0"],"last_affected":[],"package":"libzypp-plugin-appdata","purl":"pkg:rpm/suse/libzypp-plugin-appdata\u0026distro=SUSE%20Enterprise%20Storage%207","source":"SUSE-SU-2023:0140-1"},{"ecosystem":"SUSE:Enterprise Storage 7.1","fixed":["1.0.1+git.20180426-150100.8.3.1"],"introduced":["0"],"last_affected":[],"package":"libzypp-plugin-appdata","purl":"pkg:rpm/suse/libzypp-plugin-appdata\u0026distro=SUSE%20Enterprise%20Storage%207.1","source":"SUSE-SU-2023:0140-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","fixed":["1.0.1+git.20180426-150100.8.3.1"],"introduced":["0"],"last_affected":[],"package":"libzypp-plugin-appdata","purl":"pkg:rpm/suse/libzypp-plugin-appdata\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSS","source":"SUSE-SU-2023:0140-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["1.0.1+git.20180426-150100.8.3.1"],"introduced":["0"],"last_affected":[],"package":"libzypp-plugin-appdata","purl":"pkg:rpm/suse/libzypp-plugin-appdata\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-SU-2023:0140-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS","fixed":["1.0.1+git.20180426-150100.8.3.1"],"introduced":["0"],"last_affected":[],"package":"libzypp-plugin-appdata","purl":"pkg:rpm/suse/libzypp-plugin-appdata\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-ESPOS","source":"SUSE-SU-2023:0140-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","fixed":["1.0.1+git.20180426-150100.8.3.1"],"introduced":["0"],"last_affected":[],"package":"libzypp-plugin-appdata","purl":"pkg:rpm/suse/libzypp-plugin-appdata\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSS","source":"SUSE-SU-2023:0140-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Desktop Applications 15 SP4","fixed":["1.0.1+git.20180426-150400.18.3.1"],"introduced":["0"],"last_affected":[],"package":"libzypp-plugin-appdata","purl":"pkg:rpm/suse/libzypp-plugin-appdata\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Desktop%20Applications%2015%20SP4","source":"SUSE-SU-2023:0095-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP4","fixed":["1.0.1+git.20180426-150400.18.3.1"],"introduced":["0"],"last_affected":[],"package":"libzypp-plugin-appdata","purl":"pkg:rpm/suse/libzypp-plugin-appdata\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP4","source":"SUSE-SU-2023:0095-1"},{"ecosystem":"SUSE:Linux Enterprise Real Time 15 SP3","fixed":["1.0.1+git.20180426-150100.8.3.1"],"introduced":["0"],"last_affected":[],"package":"libzypp-plugin-appdata","purl":"pkg:rpm/suse/libzypp-plugin-appdata\u0026distro=SUSE%20Linux%20Enterprise%20Real%20Time%2015%20SP3","source":"SUSE-SU-2023:0140-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-LTSS","fixed":["1.0.1+git.20180426-150100.8.3.1"],"introduced":["0"],"last_affected":[],"package":"libzypp-plugin-appdata","purl":"pkg:rpm/suse/libzypp-plugin-appdata\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSS","source":"SUSE-SU-2023:0140-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP2-LTSS","fixed":["1.0.1+git.20180426-150100.8.3.1"],"introduced":["0"],"last_affected":[],"package":"libzypp-plugin-appdata","purl":"pkg:rpm/suse/libzypp-plugin-appdata\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSS","source":"SUSE-SU-2023:0140-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP3-LTSS","fixed":["1.0.1+git.20180426-150100.8.3.1"],"introduced":["0"],"last_affected":[],"package":"libzypp-plugin-appdata","purl":"pkg:rpm/suse/libzypp-plugin-appdata\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP3-LTSS","source":"SUSE-SU-2023:0140-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP1","fixed":["1.0.1+git.20180426-150100.8.3.1"],"introduced":["0"],"last_affected":[],"package":"libzypp-plugin-appdata","purl":"pkg:rpm/suse/libzypp-plugin-appdata\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1","source":"SUSE-SU-2023:0140-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP2","fixed":["1.0.1+git.20180426-150100.8.3.1"],"introduced":["0"],"last_affected":[],"package":"libzypp-plugin-appdata","purl":"pkg:rpm/suse/libzypp-plugin-appdata\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP2","source":"SUSE-SU-2023:0140-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP3","fixed":["1.0.1+git.20180426-150100.8.3.1"],"introduced":["0"],"last_affected":[],"package":"libzypp-plugin-appdata","purl":"pkg:rpm/suse/libzypp-plugin-appdata\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP3","source":"SUSE-SU-2023:0140-1"},{"ecosystem":"openSUSE:Leap 15.4","fixed":["1.0.1+git.20180426-150400.18.3.1"],"introduced":["0"],"last_affected":[],"package":"libzypp-plugin-appdata","purl":"pkg:rpm/opensuse/libzypp-plugin-appdata\u0026distro=openSUSE%20Leap%2015.4","source":"SUSE-SU-2023:0095-1"}],"prev":{"headline":"Weak cryptography in FortiAnalyzer","id":"CVE-2023-22642"},"products":["SUSE Linux Enterprise Server for SAP 15-SP3","openSUSE Leap 15.4"],"published":"2023-02-07","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-03-25","vendors":["SUSE","openSUSE"]},"summary":"Attackers can execute arbitrary code as root by tricking users into using specially crafted repository settings in the libzypp-plugin-appdata package.","url":"https://insights.sbomify.com/CVE-2023-22643/"}