{"schemaVersion":3,"id":"CVE-2024-32019","aliases":["GHSA-pmhq-4cxq-wj93"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2024-04-12T20:33:18.080Z","modified":"2024-09-06T17:58:36.095Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01165,"percentile":0.66993,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.01165},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01165,"percentile":0.66993}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01165,"percentile":0.66993}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"MSF_EXPLOIT_LINUX_LOCAL_NDSUDO_CVE_2024_32019","name":"Netdata ndsudo privilege escalation","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploit/linux/local/ndsudo_cve_2024_32019.rb","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":"remote","platforms":[],"requiresAuth":false,"exploitdb":null,"metasploit":{"fullname":"exploit/linux/local/ndsudo_cve_2024_32019","rank":"300","rankName":"normal","postAuth":false,"check":true,"stability":["crash-safe"],"sideEffects":["ioc-in-logs"],"reliability":["repeatable-session"]}}],"exploitCount":1,"weaknesses":[{"id":"CWE-426","name":"Untrusted Search Path","description":"The product searches for critical resources using an externally-supplied search path that can point to resources that are not under the product's direct control.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/426.html"}],"affected":[{"vendor":"netdata","product":"netdata","name":"netdata","label":"netdata","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.45.0, < 1.45.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.44.0-60, < 1.45.0-169","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.45.0, < 1.45.3 | ≥ 1.44.0-60, < 1.45.0-169","eol":null,"hubHref":"/vendor/netdata/netdata"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/netdata/netdata/security/advisories/GHSA-pmhq-4cxq-wj93","label":"github.com/netdata/netdata/security/advisories/GHSA-pmhq-4cxq-wj93","hostname":"github.com","tags":["X Refsource CONFIRM"]},{"url":"https://github.com/netdata/netdata/pull/17377","label":"github.com/netdata/netdata/pull/17377","hostname":"github.com","tags":["X Refsource MISC"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["UBUNTU-CVE-2024-32019"]},"timeline":[{"kind":"published","date":"2024-04-12T20:33:18.080Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-06T17:58:36.095Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":45,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T00:34:31.506Z","stale":false,"partial":false}}