CVE-2024-32019CWE-426

ndsudo: local privilege escalation via untrusted search path

High · published April 12, 2024

CVSS v3.1
8.8
EPSS
1%
Percentile
67.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01165 · 67.1th percentile
Weakness
CWE-426 · Untrusted Search Path
Published
2024-04-12T20:33Z
EPSS history
Timeline
  • 12 APR 20:33Z
    ndsudo: local privilege escalation via untrusted search path
    cvelistv5