CVE-2024-32019: Netdata - Privilege Escalation
- Cve: CVE-2024-32019
- Name: Netdata - Privilege Escalation
- 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.
- Impact: Local attackers can execute arbitrary commands as root, leading to full system compromise.
- Remediation: Upgrade to version 1.45.3 or later.
- Vulnerability type: broken_access_control
- Vulnerability impact: privilege_escalation
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- Epss score: 0.01165
- Epss percentile: 0.68102
- Assignee: [email protected]
- Published at: 2024-04-12T21:15:12Z
- Age in days: 956
- Modified at: 2026-06-17T07:29:07Z
- Patch available: yes
- Public exploits total: 13
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-32019
- Nvd status: deferred
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-426 | Untrusted Search Path |
Public exploits
Same in every row:
- Source: poc-in-github
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/netdata/netdata/pull/17377 | nvd | |
| https://github.com/netdata/netdata/security/advisories/GHSA-pmhq-4cxq-wj93 | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| netdata:netdata | >= 1.44.0-60, < 1.45.0-169; >= 1.45.0, < 1.45.3 | no | cna_alias_text | /v1/products/netdata/netdata |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| netdata/netdata | pull, security_advisory | yes | /v1/repositories/netdata/netdata |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Exploitation seen: yes
- Public exploit: yes
- Public exploit count: 13
- Public exploit first date: 2024-04-12
- Authentication required: yes
- Exposed hosts: 19735
- Checked, none or zero: known exploited, known exploited by, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports