{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-28617 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2023-28617 is a high-severity command injection vulnerability in n/a, published on 19 Mar 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-28617 and fix it if it is affected.\n\nWhat it is: CVE-2023-28617 is a high-severity command injection vulnerability in n/a, published on 19 Mar 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-28617 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-2023-28617/ (Markdown: https://insights.sbomify.com/CVE-2023-28617/index.md)","id":"CVE-2023-28617","markdown":"https://insights.sbomify.com/CVE-2023-28617/index.md","name":"CVE-2023-28617","record":{"aliases":["ALSA-2023:1930","ALSA-2023:2074","AZL-25707","DEBIAN-CVE-2023-28617","DLA-3616-1","GHSA-xwfh-qqww-gr22","MGASA-2023-0152","OESA-2023-1185","RHSA-2023:1915","RHSA-2023:1930","RHSA-2023:1931","RHSA-2023:1958","RHSA-2023:2010","RHSA-2023:2074","RHSA-2023:3189","RLSA-2023:1930","RLSA-2023:2074","UBUNTU-CVE-2023-28617","USN-6003-1"],"analysis":{"component_type":"developer_tool","fix_type":"patch","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"GNU Emacs Org Mode","requires_auth":"none","summary":"Attackers can execute arbitrary commands via shell metacharacters in file or directory names processed by Org Mode in GNU Emacs.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"org_mode","vendor":"gnu"}],"cvss":{"score":7.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/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":"org-babel-execute:latex in ob-latex.el in Org Mode through 9.6.1 for GNU Emacs allows attackers to execute arbitrary commands via a file name or directory name that contains shell metacharacters.","ecosystems":["AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::baseos","Red Hat:enterprise_linux:9::appstream","Red Hat:rhel_aus:8.2::appstream","Red Hat:rhel_aus:8.2::baseos","Red Hat:rhel_e4s:8.1::appstream","Red Hat:rhel_e4s:8.1::baseos","Red Hat:rhel_e4s:8.2::appstream","Red Hat:rhel_e4s:8.2::baseos","Red Hat:rhel_eus:8.4::appstream","Red Hat:rhel_eus:8.4::baseos","Red Hat:rhel_eus:8.6::appstream","Red Hat:rhel_eus:8.6::baseos","Red Hat:rhel_eus:9.0::appstream","Red Hat:rhel_tus:8.2::appstream","Red Hat:rhel_tus:8.2::baseos","Rocky Linux:8","Rocky Linux:9"],"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-2023-28617","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2023"},"n_packages":117,"n_references":5,"next":{"headline":"WordPress Enhanced Plugin Admin Plugin \u003c= 1.16 is vulnerable to Cross Site Request Forgery (CSRF)","id":"CVE-2023-28618"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["1:26.1-7.el8_7.1"],"introduced":["0"],"last_affected":[],"package":"emacs","purl":"pkg:rpm/almalinux/emacs","source":"ALSA-2023:1930"},{"ecosystem":"AlmaLinux:8","fixed":["1:26.1-7.el8_7.1"],"introduced":["0"],"last_affected":[],"package":"emacs-common","purl":"pkg:rpm/almalinux/emacs-common","source":"ALSA-2023:1930"},{"ecosystem":"AlmaLinux:8","fixed":["1:26.1-7.el8_7.1"],"introduced":["0"],"last_affected":[],"package":"emacs-filesystem","purl":"pkg:rpm/almalinux/emacs-filesystem","source":"ALSA-2023:1930"},{"ecosystem":"AlmaLinux:8","fixed":["1:26.1-7.el8_7.1"],"introduced":["0"],"last_affected":[],"package":"emacs-lucid","purl":"pkg:rpm/almalinux/emacs-lucid","source":"ALSA-2023:1930"},{"ecosystem":"AlmaLinux:8","fixed":["1:26.1-7.el8_7.1"],"introduced":["0"],"last_affected":[],"package":"emacs-nox","purl":"pkg:rpm/almalinux/emacs-nox","source":"ALSA-2023:1930"},{"ecosystem":"AlmaLinux:8","fixed":["1:26.1-7.el8_7.1"],"introduced":["0"],"last_affected":[],"package":"emacs-terminal","purl":"pkg:rpm/almalinux/emacs-terminal","source":"ALSA-2023:1930"},{"ecosystem":"AlmaLinux:9","fixed":["1:27.2-6.el9_1.1"],"introduced":["0"],"last_affected":[],"package":"emacs","purl":"pkg:rpm/almalinux/emacs","source":"ALSA-2023:2074"},{"ecosystem":"AlmaLinux:9","fixed":["1:27.2-6.el9_1.1"],"introduced":["0"],"last_affected":[],"package":"emacs-common","purl":"pkg:rpm/almalinux/emacs-common","source":"ALSA-2023:2074"},{"ecosystem":"AlmaLinux:9","fixed":["1:27.2-6.el9_1.1"],"introduced":["0"],"last_affected":[],"package":"emacs-filesystem","purl":"pkg:rpm/almalinux/emacs-filesystem","source":"ALSA-2023:2074"},{"ecosystem":"AlmaLinux:9","fixed":["1:27.2-6.el9_1.1"],"introduced":["0"],"last_affected":[],"package":"emacs-lucid","purl":"pkg:rpm/almalinux/emacs-lucid","source":"ALSA-2023:2074"},{"ecosystem":"AlmaLinux:9","fixed":["1:27.2-6.el9_1.1"],"introduced":["0"],"last_affected":[],"package":"emacs-nox","purl":"pkg:rpm/almalinux/emacs-nox","source":"ALSA-2023:2074"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:26.1-7.el8_7.1"],"introduced":["0"],"last_affected":[],"package":"emacs","purl":"pkg:rpm/redhat/emacs","source":"RHSA-2023:1930"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:26.1-7.el8_7.1"],"introduced":["0"],"last_affected":[],"package":"emacs-common","purl":"pkg:rpm/redhat/emacs-common","source":"RHSA-2023:1930"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:26.1-7.el8_7.1"],"introduced":["0"],"last_affected":[],"package":"emacs-common-debuginfo","purl":"pkg:rpm/redhat/emacs-common-debuginfo","source":"RHSA-2023:1930"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:26.1-7.el8_7.1"],"introduced":["0"],"last_affected":[],"package":"emacs-debuginfo","purl":"pkg:rpm/redhat/emacs-debuginfo","source":"RHSA-2023:1930"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:26.1-7.el8_7.1"],"introduced":["0"],"last_affected":[],"package":"emacs-debugsource","purl":"pkg:rpm/redhat/emacs-debugsource","source":"RHSA-2023:1930"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:26.1-7.el8_7.1"],"introduced":["0"],"last_affected":[],"package":"emacs-lucid","purl":"pkg:rpm/redhat/emacs-lucid","source":"RHSA-2023:1930"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:26.1-7.el8_7.1"],"introduced":["0"],"last_affected":[],"package":"emacs-lucid-debuginfo","purl":"pkg:rpm/redhat/emacs-lucid-debuginfo","source":"RHSA-2023:1930"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:26.1-7.el8_7.1"],"introduced":["0"],"last_affected":[],"package":"emacs-nox","purl":"pkg:rpm/redhat/emacs-nox","source":"RHSA-2023:1930"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:26.1-7.el8_7.1"],"introduced":["0"],"last_affected":[],"package":"emacs-nox-debuginfo","purl":"pkg:rpm/redhat/emacs-nox-debuginfo","source":"RHSA-2023:1930"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:26.1-7.el8_7.1"],"introduced":["0"],"last_affected":[],"package":"emacs-terminal","purl":"pkg:rpm/redhat/emacs-terminal","source":"RHSA-2023:1930"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["1:26.1-7.el8_7.1"],"introduced":["0"],"last_affected":[],"package":"emacs","purl":"pkg:rpm/redhat/emacs","source":"RHSA-2023:1930"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["1:26.1-7.el8_7.1"],"introduced":["0"],"last_affected":[],"package":"emacs-filesystem","purl":"pkg:rpm/redhat/emacs-filesystem","source":"RHSA-2023:1930"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:27.2-6.el9_1.1"],"introduced":["0"],"last_affected":[],"package":"emacs","purl":"pkg:rpm/redhat/emacs","source":"RHSA-2023:2074"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:27.2-6.el9_1.1"],"introduced":["0"],"last_affected":[],"package":"emacs-common","purl":"pkg:rpm/redhat/emacs-common","source":"RHSA-2023:2074"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:27.2-6.el9_1.1"],"introduced":["0"],"last_affected":[],"package":"emacs-common-debuginfo","purl":"pkg:rpm/redhat/emacs-common-debuginfo","source":"RHSA-2023:2074"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:27.2-6.el9_1.1"],"introduced":["0"],"last_affected":[],"package":"emacs-debuginfo","purl":"pkg:rpm/redhat/emacs-debuginfo","source":"RHSA-2023:2074"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:27.2-6.el9_1.1"],"introduced":["0"],"last_affected":[],"package":"emacs-debugsource","purl":"pkg:rpm/redhat/emacs-debugsource","source":"RHSA-2023:2074"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:27.2-6.el9_1.1"],"introduced":["0"],"last_affected":[],"package":"emacs-filesystem","purl":"pkg:rpm/redhat/emacs-filesystem","source":"RHSA-2023:2074"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:27.2-6.el9_1.1"],"introduced":["0"],"last_affected":[],"package":"emacs-lucid","purl":"pkg:rpm/redhat/emacs-lucid","source":"RHSA-2023:2074"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:27.2-6.el9_1.1"],"introduced":["0"],"last_affected":[],"package":"emacs-lucid-debuginfo","purl":"pkg:rpm/redhat/emacs-lucid-debuginfo","source":"RHSA-2023:2074"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:27.2-6.el9_1.1"],"introduced":["0"],"last_affected":[],"package":"emacs-nox","purl":"pkg:rpm/redhat/emacs-nox","source":"RHSA-2023:2074"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:27.2-6.el9_1.1"],"introduced":["0"],"last_affected":[],"package":"emacs-nox-debuginfo","purl":"pkg:rpm/redhat/emacs-nox-debuginfo","source":"RHSA-2023:2074"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["1:26.1-5.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"emacs","purl":"pkg:rpm/redhat/emacs","source":"RHSA-2023:1915"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["1:26.1-5.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"emacs-common","purl":"pkg:rpm/redhat/emacs-common","source":"RHSA-2023:1915"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["1:26.1-5.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"emacs-common-debuginfo","purl":"pkg:rpm/redhat/emacs-common-debuginfo","source":"RHSA-2023:1915"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["1:26.1-5.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"emacs-debuginfo","purl":"pkg:rpm/redhat/emacs-debuginfo","source":"RHSA-2023:1915"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["1:26.1-5.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"emacs-debugsource","purl":"pkg:rpm/redhat/emacs-debugsource","source":"RHSA-2023:1915"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["1:26.1-5.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"emacs-lucid","purl":"pkg:rpm/redhat/emacs-lucid","source":"RHSA-2023:1915"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["1:26.1-5.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"emacs-lucid-debuginfo","purl":"pkg:rpm/redhat/emacs-lucid-debuginfo","source":"RHSA-2023:1915"}],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2023-28616"},"products":["n/a"],"published":"2023-03-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":"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-11-03","vendors":["n/a"]},"summary":"Attackers can execute arbitrary commands via shell metacharacters in file or directory names processed by Org Mode in GNU Emacs.","url":"https://insights.sbomify.com/CVE-2023-28617/"}