{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-32019 exists.","fix":"No fix has been published for CVE-2024-32019 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-32019 is a high-severity vulnerability in netdata, published on 12 Apr 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-2024-32019 and fix it if it is affected.\n\nWhat it is: CVE-2024-32019 is a high-severity vulnerability in netdata, published on 12 Apr 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-32019 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-2024-32019/ (Markdown: https://insights.sbomify.com/CVE-2024-32019/index.md)","id":"CVE-2024-32019","markdown":"https://insights.sbomify.com/CVE-2024-32019/index.md","name":"CVE-2024-32019","record":{"aliases":["GHSA-pmhq-4cxq-wj93"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Netdata observability tool","requires_auth":"low_privilege","summary":"Local attackers can escalate privileges to root by manipulating the PATH environment variable to hijack commands executed by the SUID ndsudo tool.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-426","name":"Untrusted Search Path"}],"description":"Netdata is an open source observability tool. In affected versions the `ndsudo` tool shipped with affected versions of the Netdata Agent allows an attacker to run arbitrary programs with root permissions. The `ndsudo` tool is packaged as a `root`-owned executable with the SUID bit set. It only runs a restricted set of external commands, but its search paths are supplied by the `PATH` environment variable. This allows an attacker to control where `ndsudo` looks for these commands, which may be a path the attacker has write access to. This may lead to local privilege escalation. This vulnerability has been addressed in versions 1.45.3 and 1.45.2-169. Users are advised to upgrade. There are no known workarounds for this vulnerability.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2024-04-12","github_poc":12,"max_poc_stars":21,"metasploit":1,"nuclei":0,"refs":[{"date":"2025-08-03T04:41:54Z","kind":"github_poc","ref":"https://github.com/AzureADTrent/CVE-2024-32019-POC","stars":21,"title":"POC for netdata ndsudo vulnerability - CVE-2024-32019"},{"date":"2025-08-05T07:54:01Z","kind":"github_poc","ref":"https://github.com/dollarboysushil/CVE-2024-32019-Netdata-ndsudo-PATH-Vulnerability-Privilege-Escalation","stars":14,"title":"CVE-2024-32019 is a high-severity local privilege escalation vulnerability in Netdata (versions \u003e= 1.44.0-60 \u003c 1.45.3), caused by insecure use of the PATH variable in the ndsudo SUID binary, allowing attackers to execute arbitrary commands as root."},{"date":"2025-08-03T11:05:12Z","kind":"github_poc","ref":"https://github.com/AliElKhatteb/CVE-2024-32019-POC","stars":5,"title":"this is a poc for the CVE-2025-24893"},{"date":"2025-09-11T00:25:36Z","kind":"github_poc","ref":"https://github.com/T1erno/CVE-2024-32019-Netdata-ndsudo-Privilege-Escalation-PoC","stars":3,"title":"Netdata ndsudo Privilege Escalation PoC"},{"date":"2025-08-25T02:46:19Z","kind":"github_poc","ref":"https://github.com/x0da6h/POC-for-CVE-2024-32019","stars":1,"title":null},{"date":"2024-04-12","kind":"metasploit","ref":"exploit/linux/local/ndsudo_cve_2024_32019","stars":null,"title":"Netdata ndsudo privilege escalation"},{"date":"2025-08-05T16:43:50Z","kind":"github_poc","ref":"https://github.com/juanbelin/CVE-2024-32019-POC","stars":0,"title":"Netdata ndsudo local privilage escalation workflow and POC (CVE-2024-32019)"},{"date":"2025-08-06T22:49:45Z","kind":"github_poc","ref":"https://github.com/C0deInBlack/CVE-2024-32019-poc","stars":0,"title":"Netdata ndsudo PoC"}],"tier":"weaponised"},"has_fix":false,"headline":"ndsudo: local privilege escalation via untrusted search path","id":"CVE-2024-32019","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"privilege_escalation","year":"2024"},"n_packages":0,"n_references":2,"next":{"headline":"Race condition in git","id":"CVE-2024-32020"},"packages":[],"prev":{"headline":"Ineffective size check due to assert() and buffer overflow in RIOT","id":"CVE-2024-32018"},"products":["netdata"],"published":"2024-04-12","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-09-06","vendors":["netdata"]},"summary":"Local attackers can escalate privileges to root by manipulating the PATH environment variable to hijack commands executed by the SUID ndsudo tool.","url":"https://insights.sbomify.com/CVE-2024-32019/"}