Bug ID 1222859
Summary VUL-0: CVE-2024-32019: netdata: local privilege escalation and command execution via untrusted search path
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.6
Hardware Other
URL https://smash.suse.de/issue/401694/
OS Other
Status NEW
Severity Major
Priority P5 - None
Component Security
Assignee mia@0x0.st
Reporter smash_bz@suse.de
QA Contact security-team@suse.de
CC camila.matos@suse.com
Target Milestone ---
Found By Security Response Team
Blocker ---

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.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-32019
https://www.cve.org/CVERecord?id=CVE-2024-32019
https://github.com/netdata/netdata/pull/17377
https://github.com/netdata/netdata/security/advisories/GHSA-pmhq-4cxq-wj93
https://bugzilla.redhat.com/show_bug.cgi?id=2274984


You are receiving this mail because: