{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-48624 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2022-48624 is a high-severity command injection vulnerability in n/a, published on 19 Feb 2024. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-48624 and fix it if it is affected.\n\nWhat it is: CVE-2022-48624 is a high-severity command injection vulnerability in n/a, published on 19 Feb 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-48624 in the wild and no public exploit code.\n\nAffected product: n/a. 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-2022-48624/ (Markdown: https://insights.sbomify.com/CVE-2022-48624/index.md)","id":"CVE-2022-48624","markdown":"https://insights.sbomify.com/CVE-2022-48624/index.md","name":"CVE-2022-48624","record":{"aliases":["ALSA-2024:1610","ALSA-2024:1692","AZL-34458","CLSA-2024-1713523278","CLSA-2024-1713523598","CLSA-2024-1713523762","CLSA-2024-1714065925","CLSA-2024-1714066220","CLSA-2024-1716271951","CLSA-2024-1716272169","CLSA-2024-1716272273","DEBIAN-CVE-2022-48624","GHSA-p647-4jrw-p827","OESA-2024-1219","RHSA-2024:1610","RHSA-2024:1692","RHSA-2024:1875","RHSA-2024:1989","RLSA-2024:1610","RLSA-2024:1692","SUSE-SU-2024:1189-1","SUSE-SU-2024:1190-1","SUSE-SU-2024:1192-1","UBUNTU-CVE-2022-48624","USN-6664-1","USN-8079-1"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"less text viewer","requires_auth":"low_privilege","summary":"Attackers can execute arbitrary commands via the LESSCLOSE environment variable due to missing shell quoting in the less utility.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"less","vendor":"greenwoodsoftware"}],"cvss":{"score":7.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"close_altfile in filename.c in less before 606 omits shell_quote calls for LESSCLOSE.","ecosystems":["AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:8::baseos","Red Hat:enterprise_linux:9::baseos","Red Hat:rhel_eus:8.6::baseos","Red Hat:rhel_eus:8.8::baseos","Rocky Linux:8","Rocky Linux:9","SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise Micro 5.1","SUSE:Linux Enterprise Micro 5.2","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Micro 5.4","SUSE:Linux Enterprise Micro 5.5","SUSE:Linux Enterprise Module for Basesystem 15 SP5","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server 15 SP3-LTSS","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","SUSE:Manager Proxy 4.3","SUSE:Manager Server 4.3","openSUSE:Leap 15.5","openSUSE:Leap Micro 5.3","openSUSE:Leap Micro 5.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":"Command injection in n/a","id":"CVE-2022-48624","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2022"},"n_packages":40,"n_references":5,"next":{"headline":"Hardcoded credentials in n/a","id":"CVE-2022-48625"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["530-2.el8_9"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/almalinux/less","source":"ALSA-2024:1610"},{"ecosystem":"AlmaLinux:9","fixed":["590-3.el9_3"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/almalinux/less","source":"ALSA-2024:1692"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:530-2.el8_9"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/redhat/less","source":"RHSA-2024:1610"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:530-2.el8_9"],"introduced":["0"],"last_affected":[],"package":"less-debuginfo","purl":"pkg:rpm/redhat/less-debuginfo","source":"RHSA-2024:1610"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:530-2.el8_9"],"introduced":["0"],"last_affected":[],"package":"less-debugsource","purl":"pkg:rpm/redhat/less-debugsource","source":"RHSA-2024:1610"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:590-3.el9_3"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/redhat/less","source":"RHSA-2024:1692"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:590-3.el9_3"],"introduced":["0"],"last_affected":[],"package":"less-debuginfo","purl":"pkg:rpm/redhat/less-debuginfo","source":"RHSA-2024:1692"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:590-3.el9_3"],"introduced":["0"],"last_affected":[],"package":"less-debugsource","purl":"pkg:rpm/redhat/less-debugsource","source":"RHSA-2024:1692"},{"ecosystem":"Red Hat:rhel_eus:8.6::baseos","fixed":["0:530-2.el8_6"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/redhat/less","source":"RHSA-2024:1989"},{"ecosystem":"Red Hat:rhel_eus:8.6::baseos","fixed":["0:530-2.el8_6"],"introduced":["0"],"last_affected":[],"package":"less-debuginfo","purl":"pkg:rpm/redhat/less-debuginfo","source":"RHSA-2024:1989"},{"ecosystem":"Red Hat:rhel_eus:8.6::baseos","fixed":["0:530-2.el8_6"],"introduced":["0"],"last_affected":[],"package":"less-debugsource","purl":"pkg:rpm/redhat/less-debugsource","source":"RHSA-2024:1989"},{"ecosystem":"Red Hat:rhel_eus:8.8::baseos","fixed":["0:530-2.el8_8"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/redhat/less","source":"RHSA-2024:1875"},{"ecosystem":"Red Hat:rhel_eus:8.8::baseos","fixed":["0:530-2.el8_8"],"introduced":["0"],"last_affected":[],"package":"less-debuginfo","purl":"pkg:rpm/redhat/less-debuginfo","source":"RHSA-2024:1875"},{"ecosystem":"Red Hat:rhel_eus:8.8::baseos","fixed":["0:530-2.el8_8"],"introduced":["0"],"last_affected":[],"package":"less-debugsource","purl":"pkg:rpm/redhat/less-debugsource","source":"RHSA-2024:1875"},{"ecosystem":"Rocky Linux:8","fixed":["0:530-2.el8_9"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/rocky-linux/less?distro=rocky-linux-8\u0026epoch=0","source":"RLSA-2024:1610"},{"ecosystem":"Rocky Linux:9","fixed":["0:590-3.el9_3"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/rocky-linux/less?distro=rocky-linux-9\u0026epoch=0","source":"RLSA-2024:1692"},{"ecosystem":"SUSE:Enterprise Storage 7.1","fixed":["530-150000.3.6.2"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/suse/less\u0026distro=SUSE%20Enterprise%20Storage%207.1","source":"SUSE-SU-2024:1190-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["530-150000.3.6.2"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/suse/less\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-SU-2024:1190-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","fixed":["530-150000.3.6.2"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/suse/less\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSS","source":"SUSE-SU-2024:1190-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","fixed":["590-150400.3.6.2"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/suse/less\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOS","source":"SUSE-SU-2024:1192-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","fixed":["590-150400.3.6.2"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/suse/less\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSS","source":"SUSE-SU-2024:1192-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.1","fixed":["530-150000.3.6.2"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/suse/less\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.1","source":"SUSE-SU-2024:1190-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.2","fixed":["530-150000.3.6.2"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/suse/less\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.2","source":"SUSE-SU-2024:1190-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.3","fixed":["590-150400.3.6.2"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/suse/less\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.3","source":"SUSE-SU-2024:1192-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.4","fixed":["590-150400.3.6.2"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/suse/less\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.4","source":"SUSE-SU-2024:1192-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.5","fixed":["590-150400.3.6.2"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/suse/less\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.5","source":"SUSE-SU-2024:1192-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP5","fixed":["590-150400.3.6.2"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/suse/less\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP5","source":"SUSE-SU-2024:1192-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["458-7.12.1"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/suse/less\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2024:1189-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP2-LTSS","fixed":["530-150000.3.6.2"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/suse/less\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSS","source":"SUSE-SU-2024:1190-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP3-LTSS","fixed":["530-150000.3.6.2"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/suse/less\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP3-LTSS","source":"SUSE-SU-2024:1190-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP4-LTSS","fixed":["590-150400.3.6.2"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/suse/less\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSS","source":"SUSE-SU-2024:1192-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["458-7.12.1"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/suse/less\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2024:1189-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP2","fixed":["530-150000.3.6.2"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/suse/less\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP2","source":"SUSE-SU-2024:1190-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP3","fixed":["530-150000.3.6.2"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/suse/less\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP3","source":"SUSE-SU-2024:1190-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP4","fixed":["590-150400.3.6.2"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/suse/less\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP4","source":"SUSE-SU-2024:1192-1"},{"ecosystem":"SUSE:Manager Proxy 4.3","fixed":["590-150400.3.6.2"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/suse/less\u0026distro=SUSE%20Manager%20Proxy%204.3","source":"SUSE-SU-2024:1192-1"},{"ecosystem":"SUSE:Manager Server 4.3","fixed":["590-150400.3.6.2"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/suse/less\u0026distro=SUSE%20Manager%20Server%204.3","source":"SUSE-SU-2024:1192-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["590-150400.3.6.2"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/opensuse/less\u0026distro=openSUSE%20Leap%2015.5","source":"SUSE-SU-2024:1192-1"},{"ecosystem":"openSUSE:Leap Micro 5.3","fixed":["590-150400.3.6.2"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/opensuse/less\u0026distro=openSUSE%20Leap%20Micro%205.3","source":"SUSE-SU-2024:1192-1"},{"ecosystem":"openSUSE:Leap Micro 5.4","fixed":["590-150400.3.6.2"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/opensuse/less\u0026distro=openSUSE%20Leap%20Micro%205.4","source":"SUSE-SU-2024:1192-1"}],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2022-48623"},"products":["n/a"],"published":"2024-02-19","related":[],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"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":"partial"},"state":"PUBLISHED","updated":"2025-03-27","vendors":["n/a"]},"summary":"Attackers can execute arbitrary commands via the LESSCLOSE environment variable due to missing shell quoting in the less utility.","url":"https://insights.sbomify.com/CVE-2022-48624/"}