CVE-2024-48992
- State
- Published
- Severity
- 7.8 High
- Published
- Nov 19, 2024
- Updated
- Nov 3, 2025
- Reserved
- Oct 11, 2024
Description
Qualys discovered that needrestart, before version 3.8, allows local attackers to execute arbitrary code as root by tricking needrestart into running the Ruby interpreter with an attacker-controlled RUBYLIB environment variable.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.8 High | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | canonical |
Weaknesses
- CWE-427 Uncontrolled Search Path Element
Affected Products
| Product | Versions |
|---|---|
needrestartneedrestart |
|
References
- https://www.cve.org/CVERecord?id=CVE-2024-48992issue-tracking
- https://github.com/liske/needrestart/commit/b5f25f6ec6e7dd0c5be249e4e45de4ee9ffe594fpatch
- https://www.qualys.com/2024/11/19/needrestart/needrestart.txtthird-party-advisory
- https://www.openwall.com/lists/oss-security/2024/11/19/1
- http://seclists.org/fulldisclosure/2024/Nov/17
- https://lists.debian.org/debian-lts-announce/2024/11/msg00014.html
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.