CVE-2024-48992 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 R...
HighCVSS 7.8
EPSS 8.0%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebian
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.
Upgrade path
7 packages: 7 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/needrestart(Debian 12) | < 3.6-4+deb12u2; = 3.6-4; = 3.6-4+deb12u1 | 3.6-4+deb12u2 | Fixed |
| debian/needrestart(Debian 13) | < 3.7-3.1 | 3.7-3.1 | Fixed |
| debian/needrestart(Debian 14) | < 3.7-3.1 | 3.7-3.1 | Fixed |
| needrestart | < 3.8 | 3.8 | Fixed |
| needrestart project needrestart | < 3.8 | 3.8 | Fixed |
| ubuntu/needrestart(Ubuntu 22.04) | < 3.5-5ubuntu2.2 | 3.5-5ubuntu2.2 | Fixed |
| ubuntu/needrestart(Ubuntu 24.04) | < 3.6-7ubuntu4.3 | 3.6-7ubuntu4.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/needrestart(Debian:12) | < 3.6-4+deb12u2 | 3.6-4+deb12u2 |
| debian/needrestart(Debian:12) | = 3.6-4 | No fix listed |
| debian/needrestart(Debian:12) | = 3.6-4+deb12u1 | No fix listed |
| debian/needrestart(Debian:13) | < 3.7-3.1 | 3.7-3.1 |
| debian/needrestart(Debian:14) | < 3.7-3.1 | 3.7-3.1 |
| ubuntu/needrestart(Ubuntu:22.04) | < 3.5-5ubuntu2.2 | 3.5-5ubuntu2.2 |
| needrestart | < 3.8 | 3.8 |
| needrestart project needrestart | < 3.8 | 3.8 |
| ubuntu/needrestart(Ubuntu:24.04) | < 3.6-7ubuntu4.3 | 3.6-7ubuntu4.3 |
References
- Debian Security Tracker CVE-2024-48992 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-7117-1 vendor-advisory
- www.cve.org issue-tracking vdb-entry
- github.com patch
- www.qualys.com third-party-advisory
- www.openwall.com mailing-list
- seclists.org
- lists.debian.org