{"answers":{"affected":"It affects 5 products.","exploited":"There is no known exploitation of CVE-2024-32487 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2024-32487 is a high-severity command injection vulnerability in Debian Debian Linux, published on 13 Apr 2024. 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-2024-32487 and fix it if it is affected.\n\nWhat it is: CVE-2024-32487 is a high-severity command injection vulnerability in Debian Debian Linux, published on 13 Apr 2024. 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-2024-32487 in the wild and no public exploit code.\n\nAffected product: Debian Debian Linux. 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-2024-32487/ (Markdown: https://insights.sbomify.com/CVE-2024-32487/index.md)","id":"CVE-2024-32487","markdown":"https://insights.sbomify.com/CVE-2024-32487/index.md","name":"CVE-2024-32487","record":{"aliases":["ALSA-2024:3513","AZL-39914","AZL-39933","CLSA-2024-1715672446","CLSA-2024-1715672666","CLSA-2024-1715673429","CLSA-2024-1715673596","CLSA-2024-1715673753","CLSA-2024-1715946466","CLSA-2024-1715946971","CLSA-2024-1715947224","DEBIAN-CVE-2024-32487","GHSA-f53j-pgm5-c4r3","MGASA-2024-0139","OESA-2024-1502","OESA-2024-1547","OESA-2024-1587","RHSA-2024:3513","RHSA-2024:3669","RHSA-2024:4366","RHSA-2024:4369","RHSA-2024:4416","RHSA-2024:4418","RHSA-2024:4528","RHSA-2024:4529","RLSA-2024:3513","ROOT-OS-ALPINE-319-CVE-2024-32487","ROOT-OS-ALPINE-320-CVE-2024-32487","SUSE-SU-2024:1534-1","SUSE-SU-2024:1550-1","SUSE-SU-2024:1598-1","SUSE-SU-2024:1598-2","SUSE-SU-2024:2060-1","SUSE-SU-2025:20007-1","SUSE-SU-2025:20394-1","UBUNTU-CVE-2024-32487","USN-6756-1","openSUSE-SU-2025:14862-1"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux command-line tool","requires_auth":"none","summary":"Attackers can execute arbitrary OS commands via malicious filenames in less, requiring LESSOPEN which is often default.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"debian_linux","vendor":"debian"},{"product":"less","vendor":"greenwoodsoftware"},{"product":"bootstrap_os","vendor":"netapp"},{"product":"hci_storage_nodes","vendor":"netapp"},{"product":"solidfire","vendor":"netapp"}],"cvss":{"score":8.6,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-96","name":"Improper Neutralization of Directives in Statically Saved Code"}],"description":"less through 653 allows OS command execution via a newline character in the name of a file, because quoting is mishandled in filename.c. Exploitation typically requires use with attacker-controlled file names, such as the files extracted from an untrusted archive. Exploitation also requires the LESSOPEN environment variable, but this is set by default in many common cases.","ecosystems":["AlmaLinux:9","Red Hat:enterprise_linux:7::client","Red Hat:enterprise_linux:7::server","Red Hat:enterprise_linux:7::workstation","Red Hat:enterprise_linux:9::baseos","Red Hat:rhel_aus:8.2::baseos","Red Hat:rhel_aus:8.4::baseos","Red Hat:rhel_aus:8.6::baseos","Red Hat:rhel_e4s:8.4::baseos","Red Hat:rhel_e4s:8.6::baseos","Red Hat:rhel_e4s:9.0::baseos","Red Hat:rhel_eus:8.8::baseos","Red Hat:rhel_eus:9.2::baseos","Red Hat:rhel_tus:8.4::baseos","Red Hat:rhel_tus:8.6::baseos","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 Module for Basesystem 15 SP6","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:Linux Micro 6.0","SUSE:Linux Micro 6.1","SUSE:Manager Proxy 4.3","SUSE:Manager Server 4.3","openSUSE:Leap 15.5","openSUSE:Leap 15.6","openSUSE:Leap Micro 5.3","openSUSE:Leap Micro 5.4","openSUSE:Tumbleweed"],"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-2024-32487","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"debian:debian_linux","products":["debian:debian_linux","netapp:bootstrap_os","netapp:solidfire"],"type":"command_injection","year":"2024"},"n_packages":71,"n_references":6,"next":{"headline":"Privilege escalation in n/a","id":"CVE-2024-32488"},"packages":[{"ecosystem":"AlmaLinux:9","fixed":["590-4.el9_4"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/almalinux/less","source":"ALSA-2024:3513"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:458-10.el7_9"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/redhat/less","source":"RHSA-2024:3669"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:458-10.el7_9"],"introduced":["0"],"last_affected":[],"package":"less-debuginfo","purl":"pkg:rpm/redhat/less-debuginfo","source":"RHSA-2024:3669"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:458-10.el7_9"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/redhat/less","source":"RHSA-2024:3669"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:458-10.el7_9"],"introduced":["0"],"last_affected":[],"package":"less-debuginfo","purl":"pkg:rpm/redhat/less-debuginfo","source":"RHSA-2024:3669"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:458-10.el7_9"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/redhat/less","source":"RHSA-2024:3669"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:458-10.el7_9"],"introduced":["0"],"last_affected":[],"package":"less-debuginfo","purl":"pkg:rpm/redhat/less-debuginfo","source":"RHSA-2024:3669"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:590-4.el9_4"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/redhat/less","source":"RHSA-2024:3513"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:590-4.el9_4"],"introduced":["0"],"last_affected":[],"package":"less-debuginfo","purl":"pkg:rpm/redhat/less-debuginfo","source":"RHSA-2024:3513"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:590-4.el9_4"],"introduced":["0"],"last_affected":[],"package":"less-debugsource","purl":"pkg:rpm/redhat/less-debugsource","source":"RHSA-2024:3513"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:530-2.el8_2"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/redhat/less","source":"RHSA-2024:4366"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:530-2.el8_2"],"introduced":["0"],"last_affected":[],"package":"less-debuginfo","purl":"pkg:rpm/redhat/less-debuginfo","source":"RHSA-2024:4366"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:530-2.el8_2"],"introduced":["0"],"last_affected":[],"package":"less-debugsource","purl":"pkg:rpm/redhat/less-debugsource","source":"RHSA-2024:4366"},{"ecosystem":"Red Hat:rhel_aus:8.4::baseos","fixed":["0:530-2.el8_4"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/redhat/less","source":"RHSA-2024:4416"},{"ecosystem":"Red Hat:rhel_aus:8.4::baseos","fixed":["0:530-2.el8_4"],"introduced":["0"],"last_affected":[],"package":"less-debuginfo","purl":"pkg:rpm/redhat/less-debuginfo","source":"RHSA-2024:4416"},{"ecosystem":"Red Hat:rhel_aus:8.4::baseos","fixed":["0:530-2.el8_4"],"introduced":["0"],"last_affected":[],"package":"less-debugsource","purl":"pkg:rpm/redhat/less-debugsource","source":"RHSA-2024:4416"},{"ecosystem":"Red Hat:rhel_aus:8.6::baseos","fixed":["0:530-3.el8_6"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/redhat/less","source":"RHSA-2024:4418"},{"ecosystem":"Red Hat:rhel_aus:8.6::baseos","fixed":["0:530-3.el8_6"],"introduced":["0"],"last_affected":[],"package":"less-debuginfo","purl":"pkg:rpm/redhat/less-debuginfo","source":"RHSA-2024:4418"},{"ecosystem":"Red Hat:rhel_aus:8.6::baseos","fixed":["0:530-3.el8_6"],"introduced":["0"],"last_affected":[],"package":"less-debugsource","purl":"pkg:rpm/redhat/less-debugsource","source":"RHSA-2024:4418"},{"ecosystem":"Red Hat:rhel_e4s:8.4::baseos","fixed":["0:530-2.el8_4"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/redhat/less","source":"RHSA-2024:4416"},{"ecosystem":"Red Hat:rhel_e4s:8.4::baseos","fixed":["0:530-2.el8_4"],"introduced":["0"],"last_affected":[],"package":"less-debuginfo","purl":"pkg:rpm/redhat/less-debuginfo","source":"RHSA-2024:4416"},{"ecosystem":"Red Hat:rhel_e4s:8.4::baseos","fixed":["0:530-2.el8_4"],"introduced":["0"],"last_affected":[],"package":"less-debugsource","purl":"pkg:rpm/redhat/less-debugsource","source":"RHSA-2024:4416"},{"ecosystem":"Red Hat:rhel_e4s:8.6::baseos","fixed":["0:530-3.el8_6"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/redhat/less","source":"RHSA-2024:4418"},{"ecosystem":"Red Hat:rhel_e4s:8.6::baseos","fixed":["0:530-3.el8_6"],"introduced":["0"],"last_affected":[],"package":"less-debuginfo","purl":"pkg:rpm/redhat/less-debuginfo","source":"RHSA-2024:4418"},{"ecosystem":"Red Hat:rhel_e4s:8.6::baseos","fixed":["0:530-3.el8_6"],"introduced":["0"],"last_affected":[],"package":"less-debugsource","purl":"pkg:rpm/redhat/less-debugsource","source":"RHSA-2024:4418"},{"ecosystem":"Red Hat:rhel_e4s:9.0::baseos","fixed":["0:590-2.el9_0"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/redhat/less","source":"RHSA-2024:4528"},{"ecosystem":"Red Hat:rhel_e4s:9.0::baseos","fixed":["0:590-2.el9_0"],"introduced":["0"],"last_affected":[],"package":"less-debuginfo","purl":"pkg:rpm/redhat/less-debuginfo","source":"RHSA-2024:4528"},{"ecosystem":"Red Hat:rhel_e4s:9.0::baseos","fixed":["0:590-2.el9_0"],"introduced":["0"],"last_affected":[],"package":"less-debugsource","purl":"pkg:rpm/redhat/less-debugsource","source":"RHSA-2024:4528"},{"ecosystem":"Red Hat:rhel_eus:8.8::baseos","fixed":["0:530-3.el8_8"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/redhat/less","source":"RHSA-2024:4369"},{"ecosystem":"Red Hat:rhel_eus:8.8::baseos","fixed":["0:530-3.el8_8"],"introduced":["0"],"last_affected":[],"package":"less-debuginfo","purl":"pkg:rpm/redhat/less-debuginfo","source":"RHSA-2024:4369"},{"ecosystem":"Red Hat:rhel_eus:8.8::baseos","fixed":["0:530-3.el8_8"],"introduced":["0"],"last_affected":[],"package":"less-debugsource","purl":"pkg:rpm/redhat/less-debugsource","source":"RHSA-2024:4369"},{"ecosystem":"Red Hat:rhel_eus:9.2::baseos","fixed":["0:590-3.el9_2"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/redhat/less","source":"RHSA-2024:4529"},{"ecosystem":"Red Hat:rhel_eus:9.2::baseos","fixed":["0:590-3.el9_2"],"introduced":["0"],"last_affected":[],"package":"less-debuginfo","purl":"pkg:rpm/redhat/less-debuginfo","source":"RHSA-2024:4529"},{"ecosystem":"Red Hat:rhel_eus:9.2::baseos","fixed":["0:590-3.el9_2"],"introduced":["0"],"last_affected":[],"package":"less-debugsource","purl":"pkg:rpm/redhat/less-debugsource","source":"RHSA-2024:4529"},{"ecosystem":"Red Hat:rhel_tus:8.4::baseos","fixed":["0:530-2.el8_4"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/redhat/less","source":"RHSA-2024:4416"},{"ecosystem":"Red Hat:rhel_tus:8.4::baseos","fixed":["0:530-2.el8_4"],"introduced":["0"],"last_affected":[],"package":"less-debuginfo","purl":"pkg:rpm/redhat/less-debuginfo","source":"RHSA-2024:4416"},{"ecosystem":"Red Hat:rhel_tus:8.4::baseos","fixed":["0:530-2.el8_4"],"introduced":["0"],"last_affected":[],"package":"less-debugsource","purl":"pkg:rpm/redhat/less-debugsource","source":"RHSA-2024:4416"},{"ecosystem":"Red Hat:rhel_tus:8.6::baseos","fixed":["0:530-3.el8_6"],"introduced":["0"],"last_affected":[],"package":"less","purl":"pkg:rpm/redhat/less","source":"RHSA-2024:4418"},{"ecosystem":"Red Hat:rhel_tus:8.6::baseos","fixed":["0:530-3.el8_6"],"introduced":["0"],"last_affected":[],"package":"less-debuginfo","purl":"pkg:rpm/redhat/less-debuginfo","source":"RHSA-2024:4418"},{"ecosystem":"Red Hat:rhel_tus:8.6::baseos","fixed":["0:530-3.el8_6"],"introduced":["0"],"last_affected":[],"package":"less-debugsource","purl":"pkg:rpm/redhat/less-debugsource","source":"RHSA-2024:4418"}],"prev":{"headline":"Denial of service in Intel(R) VROC software","id":"CVE-2024-32485"},"products":["n/a"],"published":"2024-04-13","related":[{"cvss_score":10,"headline":"ProFTPD Improper Access Control","id":"CVE-2015-3306","kev_date_added":"2026-10-08","published":"2015-05-18"},{"cvss_score":9.9,"headline":"RoundCube Webmail Deserialization of Untrusted Data","id":"CVE-2025-49113","kev_date_added":"2026-02-20","published":"2025-06-02"},{"cvss_score":9.8,"headline":"GNU InetUtils Argument Injection","id":"CVE-2026-24061","kev_date_added":"2026-01-26","published":"2026-01-21"},{"cvss_score":9.8,"headline":"Linux Kernel Improper Check for Unusual or Exceptional Conditions","id":"CVE-2025-39682","kev_date_added":"2026-09-18","published":"2025-09-05"},{"cvss_score":9.8,"headline":"Mozilla Firefox Use-After-Free","id":"CVE-2024-9680","kev_date_added":"2024-10-15","published":"2024-10-09"},{"cvss_score":9.8,"headline":"RARLAB UnRAR Directory Traversal","id":"CVE-2022-30333","kev_date_added":"2022-08-09","published":"2022-05-09"},{"cvss_score":9.8,"headline":"Roundcube Webmail SQL Injection","id":"CVE-2021-44026","kev_date_added":"2023-06-22","published":"2021-11-19"}],"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":"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":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-08-02","vendors":["n/a"]},"summary":"Attackers can execute arbitrary OS commands via malicious filenames in less, requiring LESSOPEN which is often default.","url":"https://insights.sbomify.com/CVE-2024-32487/"}