{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-22496 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2023-22496 is a high-severity command injection vulnerability in netdata, published on 14 Jan 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-22496 and fix it if it is affected.\n\nWhat it is: CVE-2023-22496 is a high-severity command injection vulnerability in netdata, published on 14 Jan 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-22496 exists.\n\nAffected product: netdata. 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-22496/ (Markdown: https://insights.sbomify.com/CVE-2023-22496/index.md)","id":"CVE-2023-22496","markdown":"https://insights.sbomify.com/CVE-2023-22496/index.md","name":"CVE-2023-22496","record":{"aliases":["DEBIAN-CVE-2023-22496","GHSA-xg38-3vmw-2978"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":true,"product_category":"Netdata monitoring agent","requires_auth":"none","summary":"Attackers can execute arbitrary commands on Netdata agents via crafted streaming data, requiring streaming to be enabled.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"netdata","vendor":"netdata"}],"cvss":{"score":8.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"},{"id":"CWE-20","name":"Improper Input Validation"}],"description":"Netdata is an open source option for real-time infrastructure monitoring and troubleshooting. An attacker with the ability to establish a streaming connection can execute arbitrary commands on the targeted Netdata agent. When an alert is triggered, the function `health_alarm_execute` is called. This function performs different checks and then enqueues a command by calling `spawn_enq_cmd`. This command is populated with several arguments that are not sanitized. One of them is the `registry_hostname` of the node for which the alert is raised. By providing a specially crafted `registry_hostname` as part of the health data that is streamed to a Netdata (parent) agent, an attacker can execute arbitrary commands at the remote host as a side-effect of the raised alert. Note that the commands are executed as the user running the Netdata Agent. This user is usually named `netdata`. The ability to run arbitrary commands may allow an attacker to escalate privileges by escalating other vulnerabilities in the system, as that user. The problem has been fixed in: Netdata agent v1.37 (stable) and Netdata agent v1.36.0-409 (nightly). As a workaround, streaming is not enabled by default. If you have previously enabled this, it can be disabled. Limiting access to the port on the recipient Agent to trusted child connections may mitigate the impact of this vulnerability.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-07-06","github_poc":1,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-07-06T19:29:10Z","kind":"github_poc","ref":"https://github.com/jstjep00/CVE-2023-22496-PoC","stars":1,"title":"PoC for CVE-2023-22496: Netdata Agent \u003c1.37 OS Command Injection via registry_hostname"}],"tier":"weaponised"},"has_fix":true,"headline":"Netdata vulnerable to command injection","id":"CVE-2023-22496","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2023"},"n_packages":0,"n_references":1,"next":{"headline":"Netdata is vulnerable to improper authentication","id":"CVE-2023-22497"},"packages":[],"prev":{"headline":"Izanami is vulnerable to Authorization Bypass","id":"CVE-2023-22495"},"products":["netdata"],"published":"2023-01-14","related":[{"cvss_score":6.5,"headline":"Netdata is vulnerable to improper authentication","id":"CVE-2023-22497","kev_date_added":null,"published":"2023-01-14"},{"cvss_score":6.1,"headline":"Cross-site scripting in n/a","id":"CVE-2019-9834","kev_date_added":null,"published":"2019-03-15"},{"cvss_score":5.1,"headline":"Netdata \u003c 2.3.1 - Reflected Cross-Site Scripting via love Parameter in ilove.svg Endpoint","id":"CVE-2025-71385","kev_date_added":null,"published":"2026-07-02"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-03-10","vendors":["netdata"]},"summary":"Attackers can execute arbitrary commands on Netdata agents via crafted streaming data, requiring streaming to be enabled.","url":"https://insights.sbomify.com/CVE-2023-22496/"}