{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-30630 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2023-30630 is a high-severity path traversal vulnerability in n/a, published on 13 Apr 2023. 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-2023-30630 and fix it if it is affected.\n\nWhat it is: CVE-2023-30630 is a high-severity path traversal vulnerability in n/a, published on 13 Apr 2023. 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-2023-30630 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-30630/ (Markdown: https://insights.sbomify.com/CVE-2023-30630/index.md)","id":"CVE-2023-30630","markdown":"https://insights.sbomify.com/CVE-2023-30630/index.md","name":"CVE-2023-30630","record":{"aliases":["ALSA-2023:5061","ALSA-2023:5252","AZL-26138","BELL-CVE-2023-30630","CLSA-2025-1755004236","CLSA-2025-1755008582","CLSA-2025-1755271152","CLSA-2025-1755271747","CLSA-2025-1758228073","CLSA-2025-1758228143","CLSA-2025-1762449077","CLSA-2026-1777040413","CLSA-2026-1777538564","CLSA-2026-1777996005","CLSA-2026-1777996588","DEBIAN-CVE-2023-30630","ECHO-4a7c-5102-1f27","GHSA-9r2p-xmm5-5ppg","MGASA-2023-0180","OESA-2023-1264","RHSA-2023:5061","RHSA-2023:5252","RLSA-2023:5061","SUSE-SU-2023:1947-1","SUSE-SU-2023:2044-1","SUSE-SU-2023:2215-1","UBUNTU-CVE-2023-30630"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation","data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux system utility","requires_auth":"low_privilege","summary":"Attackers can exploit dmidecode's dump-bin feature to overwrite or create files, potentially leading to privilege escalation when run with sudo.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"dmidecode","vendor":"nongnu"}],"cvss":{"score":7.1,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-23","name":"Relative Path Traversal"}],"description":"Dmidecode before 3.5 allows -dump-bin to overwrite a local file. This has security relevance because, for example, execution of Dmidecode via Sudo is plausible. NOTE: Some third parties have indicated the fix in 3.5 does not adequately address the vulnerability. The argument is that the proposed patch prevents dmidecode from writing to an existing file. However, there are multiple attack vectors that would not require overwriting an existing file that would provide the same level of unauthorized privilege escalation (e.g. creating a new file in /etc/cron.hourly).","ecosystems":["AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:8::baseos","Red Hat:enterprise_linux:9::baseos","Rocky Linux:9","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 Micro 5.1","SUSE:Linux Enterprise Micro 5.2","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Micro 5.4","SUSE:Linux Enterprise Module for Basesystem 15 SP4","SUSE:Linux Enterprise Real Time 15 SP3","SUSE:Linux Enterprise Server 12 SP2-BCL","SUSE:Linux Enterprise Server 12 SP4-ESPOS","SUSE:Linux Enterprise Server 12 SP4-LTSS","SUSE:Linux Enterprise Server 12 SP5","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 12 SP4","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","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","SUSE:Manager Proxy 4.2","SUSE:Manager Server 4.2","SUSE:OpenStack Cloud 9","SUSE:OpenStack Cloud Crowbar 9","openSUSE:Leap 15.4","openSUSE:Leap Micro 5.3"],"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":"Path traversal in n/a","id":"CVE-2023-30630","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2023"},"n_packages":39,"n_references":4,"next":{"headline":"Apache Traffic Server: Configuration option to block the PUSH method in ATS didn't work","id":"CVE-2023-30631"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["1:3.3-4.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"dmidecode","purl":"pkg:rpm/almalinux/dmidecode","source":"ALSA-2023:5252"},{"ecosystem":"AlmaLinux:9","fixed":["1:3.3-7.el9_2.1"],"introduced":["0"],"last_affected":[],"package":"dmidecode","purl":"pkg:rpm/almalinux/dmidecode","source":"ALSA-2023:5061"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["1:3.3-4.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"dmidecode","purl":"pkg:rpm/redhat/dmidecode","source":"RHSA-2023:5252"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["1:3.3-4.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"dmidecode-debuginfo","purl":"pkg:rpm/redhat/dmidecode-debuginfo","source":"RHSA-2023:5252"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["1:3.3-4.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"dmidecode-debugsource","purl":"pkg:rpm/redhat/dmidecode-debugsource","source":"RHSA-2023:5252"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["1:3.3-7.el9_2.1"],"introduced":["0"],"last_affected":[],"package":"dmidecode","purl":"pkg:rpm/redhat/dmidecode","source":"RHSA-2023:5061"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["1:3.3-7.el9_2.1"],"introduced":["0"],"last_affected":[],"package":"dmidecode-debuginfo","purl":"pkg:rpm/redhat/dmidecode-debuginfo","source":"RHSA-2023:5061"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["1:3.3-7.el9_2.1"],"introduced":["0"],"last_affected":[],"package":"dmidecode-debugsource","purl":"pkg:rpm/redhat/dmidecode-debugsource","source":"RHSA-2023:5061"},{"ecosystem":"Rocky Linux:9","fixed":["1:3.3-7.el9_2.1"],"introduced":["0"],"last_affected":[],"package":"dmidecode","purl":"pkg:rpm/rocky-linux/dmidecode?distro=rocky-linux-9\u0026epoch=1","source":"RLSA-2023:5061"},{"ecosystem":"SUSE:Enterprise Storage 7","fixed":["3.2-150100.9.16.1"],"introduced":["0"],"last_affected":[],"package":"dmidecode","purl":"pkg:rpm/suse/dmidecode\u0026distro=SUSE%20Enterprise%20Storage%207","source":"SUSE-SU-2023:2215-1"},{"ecosystem":"SUSE:Enterprise Storage 7.1","fixed":["3.2-150100.9.16.1"],"introduced":["0"],"last_affected":[],"package":"dmidecode","purl":"pkg:rpm/suse/dmidecode\u0026distro=SUSE%20Enterprise%20Storage%207.1","source":"SUSE-SU-2023:2215-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","fixed":["3.2-150100.9.16.1"],"introduced":["0"],"last_affected":[],"package":"dmidecode","purl":"pkg:rpm/suse/dmidecode\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSS","source":"SUSE-SU-2023:2215-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["3.2-150100.9.16.1"],"introduced":["0"],"last_affected":[],"package":"dmidecode","purl":"pkg:rpm/suse/dmidecode\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-SU-2023:2215-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS","fixed":["3.2-150100.9.16.1"],"introduced":["0"],"last_affected":[],"package":"dmidecode","purl":"pkg:rpm/suse/dmidecode\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-ESPOS","source":"SUSE-SU-2023:2215-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","fixed":["3.2-150100.9.16.1"],"introduced":["0"],"last_affected":[],"package":"dmidecode","purl":"pkg:rpm/suse/dmidecode\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSS","source":"SUSE-SU-2023:2215-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.1","fixed":["3.2-150100.9.16.1"],"introduced":["0"],"last_affected":[],"package":"dmidecode","purl":"pkg:rpm/suse/dmidecode\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.1","source":"SUSE-SU-2023:2215-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.2","fixed":["3.2-150100.9.16.1"],"introduced":["0"],"last_affected":[],"package":"dmidecode","purl":"pkg:rpm/suse/dmidecode\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.2","source":"SUSE-SU-2023:2215-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.3","fixed":["3.4-150400.16.8.1"],"introduced":["0"],"last_affected":[],"package":"dmidecode","purl":"pkg:rpm/suse/dmidecode\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.3","source":"SUSE-SU-2023:1947-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.4","fixed":["3.4-150400.16.8.1"],"introduced":["0"],"last_affected":[],"package":"dmidecode","purl":"pkg:rpm/suse/dmidecode\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.4","source":"SUSE-SU-2023:1947-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP4","fixed":["3.4-150400.16.8.1"],"introduced":["0"],"last_affected":[],"package":"dmidecode","purl":"pkg:rpm/suse/dmidecode\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP4","source":"SUSE-SU-2023:1947-1"},{"ecosystem":"SUSE:Linux Enterprise Real Time 15 SP3","fixed":["3.2-150100.9.16.1"],"introduced":["0"],"last_affected":[],"package":"dmidecode","purl":"pkg:rpm/suse/dmidecode\u0026distro=SUSE%20Linux%20Enterprise%20Real%20Time%2015%20SP3","source":"SUSE-SU-2023:2215-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP2-BCL","fixed":["3.0-10.6.1"],"introduced":["0"],"last_affected":[],"package":"dmidecode","purl":"pkg:rpm/suse/dmidecode\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCL","source":"SUSE-SU-2023:2044-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP4-ESPOS","fixed":["3.0-10.6.1"],"introduced":["0"],"last_affected":[],"package":"dmidecode","purl":"pkg:rpm/suse/dmidecode\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4-ESPOS","source":"SUSE-SU-2023:2044-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP4-LTSS","fixed":["3.0-10.6.1"],"introduced":["0"],"last_affected":[],"package":"dmidecode","purl":"pkg:rpm/suse/dmidecode\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4-LTSS","source":"SUSE-SU-2023:2044-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["3.0-10.6.1"],"introduced":["0"],"last_affected":[],"package":"dmidecode","purl":"pkg:rpm/suse/dmidecode\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2023:2044-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-LTSS","fixed":["3.2-150100.9.16.1"],"introduced":["0"],"last_affected":[],"package":"dmidecode","purl":"pkg:rpm/suse/dmidecode\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSS","source":"SUSE-SU-2023:2215-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP2-LTSS","fixed":["3.2-150100.9.16.1"],"introduced":["0"],"last_affected":[],"package":"dmidecode","purl":"pkg:rpm/suse/dmidecode\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSS","source":"SUSE-SU-2023:2215-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP3-LTSS","fixed":["3.2-150100.9.16.1"],"introduced":["0"],"last_affected":[],"package":"dmidecode","purl":"pkg:rpm/suse/dmidecode\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP3-LTSS","source":"SUSE-SU-2023:2215-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP4","fixed":["3.0-10.6.1"],"introduced":["0"],"last_affected":[],"package":"dmidecode","purl":"pkg:rpm/suse/dmidecode\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4","source":"SUSE-SU-2023:2044-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["3.0-10.6.1"],"introduced":["0"],"last_affected":[],"package":"dmidecode","purl":"pkg:rpm/suse/dmidecode\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2023:2044-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP1","fixed":["3.2-150100.9.16.1"],"introduced":["0"],"last_affected":[],"package":"dmidecode","purl":"pkg:rpm/suse/dmidecode\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1","source":"SUSE-SU-2023:2215-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP2","fixed":["3.2-150100.9.16.1"],"introduced":["0"],"last_affected":[],"package":"dmidecode","purl":"pkg:rpm/suse/dmidecode\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP2","source":"SUSE-SU-2023:2215-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP3","fixed":["3.2-150100.9.16.1"],"introduced":["0"],"last_affected":[],"package":"dmidecode","purl":"pkg:rpm/suse/dmidecode\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP3","source":"SUSE-SU-2023:2215-1"},{"ecosystem":"SUSE:Manager Proxy 4.2","fixed":["3.2-150100.9.16.1"],"introduced":["0"],"last_affected":[],"package":"dmidecode","purl":"pkg:rpm/suse/dmidecode\u0026distro=SUSE%20Manager%20Proxy%204.2","source":"SUSE-SU-2023:2215-1"},{"ecosystem":"SUSE:Manager Server 4.2","fixed":["3.2-150100.9.16.1"],"introduced":["0"],"last_affected":[],"package":"dmidecode","purl":"pkg:rpm/suse/dmidecode\u0026distro=SUSE%20Manager%20Server%204.2","source":"SUSE-SU-2023:2215-1"},{"ecosystem":"SUSE:OpenStack Cloud 9","fixed":["3.0-10.6.1"],"introduced":["0"],"last_affected":[],"package":"dmidecode","purl":"pkg:rpm/suse/dmidecode\u0026distro=SUSE%20OpenStack%20Cloud%209","source":"SUSE-SU-2023:2044-1"},{"ecosystem":"SUSE:OpenStack Cloud Crowbar 9","fixed":["3.0-10.6.1"],"introduced":["0"],"last_affected":[],"package":"dmidecode","purl":"pkg:rpm/suse/dmidecode\u0026distro=SUSE%20OpenStack%20Cloud%20Crowbar%209","source":"SUSE-SU-2023:2044-1"},{"ecosystem":"openSUSE:Leap 15.4","fixed":["3.4-150400.16.8.1"],"introduced":["0"],"last_affected":[],"package":"dmidecode","purl":"pkg:rpm/opensuse/dmidecode\u0026distro=openSUSE%20Leap%2015.4","source":"SUSE-SU-2023:1947-1"},{"ecosystem":"openSUSE:Leap Micro 5.3","fixed":["3.4-150400.16.8.1"],"introduced":["0"],"last_affected":[],"package":"dmidecode","purl":"pkg:rpm/opensuse/dmidecode\u0026distro=openSUSE%20Leap%20Micro%205.3","source":"SUSE-SU-2023:1947-1"}],"prev":{"headline":"Vyper's raw_call with outsize=0 and revert_on_failure=False returns incorrect success value","id":"CVE-2023-30629"},"products":["n/a"],"published":"2023-04-13","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-04","vendors":["n/a"]},"summary":"Attackers can exploit dmidecode's dump-bin feature to overwrite or create files, potentially leading to privilege escalation when run with sudo.","url":"https://insights.sbomify.com/CVE-2023-30630/"}