ndsudo: local privilege escalation via untrusted search path
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-426.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA netdata (netdata) Fixed in 1.45.3, 1.45.0-169
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2024-32019
References
More netdata vulnerabilities
- TI-2023-08744 Netdata vulnerable to command injection CVSS 3.1CRITICAL 9.8
- TI-2023-08745 Netdata is vulnerable to improper authentication CVSS 3.1CRITICAL 9.1
- TI-2026-57702 Netdata: Unauthenticated remote PUT to /api/v3/settings bypasses IP allowlist controls via HTTP_ACL_NOCHECK CVSS 3.1MEDIUM 6.5
- TI-2026-57701 Netdata: Streaming protocol dimension slot has no upper-bound guard, allowing integer overflow and out-of-bounds write CVSS 3.1MEDIUM 6.5
- TI-2026-57700 Netdata: Streaming protocol chart slot guard off-by-one allows ~16 GiB allocation request, crashing parent agent CVSS 3.1MEDIUM 6.5
- TI-2026-57699 Netdata: WebSocket Decompression Bomb CVSS 3.1HIGH 7.5
Sources
- CVE-2024-32019 · CVE Program
- CVE-2024-32019 · NVD
- FIRST EPSS
- CVE-2024-32019 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences