{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-32019","id":"CVE-2024-32019","title":"ndsudo: local privilege escalation via 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 v","descriptionLong":"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.","published":"2024-04-12T20:33:18.080Z","updated":"2026-10-28T02:30:22.215789602Z","reserved":"2024-04-09T15:29:35.936Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["netdata"],"affectedProducts":[{"vendor":"netdata","product":"netdata","defaultStatus":null,"versions":[{"version":">= 1.45.0, < 1.45.3","status":"affected"},{"version":">= 1.44.0-60, < 1.45.0-169","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-426"],"aliases":["GHSA-pmhq-4cxq-wj93"],"references":[{"url":"https://github.com/netdata/netdata/security/advisories/GHSA-pmhq-4cxq-wj93","tags":["x_refsource_CONFIRM","x_transferred","advisory"]},{"url":"https://github.com/netdata/netdata/pull/17377","tags":["x_refsource_MISC","x_transferred","fix"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/32xxx/CVE-2024-32019.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-32019","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.01165,"epssPercentile":0.67968,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-32019","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-32019","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-32019","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-32019","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}