Description (CNA)
Netdata is an open source observability tool. Prior to 2.10.4, the setuid-root ndsudo helper command fail2ban-client-status-socket in src/collectors/utils/ndsudo.c accepts a caller-controlled --socket_path from the low-privileged netdata service account. The account can direct root fail2ban-client to a malicious UNIX socket, and fail2ban/client/csocket.py CSocket.receive() passes the returned data to pickle.loads(), allowing attacker-controlled code to execute as root on systems with fail2ban-client installed. This issue is fixed in version 2.10.4 and nightly build 2.10.0-782-nightly.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| netdata / netdata | affected < 2.10.4 |
CWE
CWE-73, CWE-502
References
- https://github.com/netdata/netdata/security/advisories/GHSA-qwh9-pq27-993w
- https://github.com/netdata/netdata/pull/22745
- https://github.com/netdata/netdata/commit/9bced8d46464bd0fe01b0b5f8c63c4ac24e9b060
- https://github.com/netdata/netdata/releases/tag/v2.10.4
ADP enrichment
No English description supplied.
No references supplied.