Name | CVE-2024-48992 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3957-1, DSA-5815-1, ELA-1238-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
needrestart (PTS) | jessie, jessie (lts) | 1.2-8+deb8u3 | fixed |
stretch (security) | 2.11-3+deb9u2 | vulnerable | |
stretch (lts), stretch | 2.11-3+deb9u3 | fixed | |
buster, buster (lts) | 3.4-5+deb10u2 | fixed | |
buster (security) | 3.4-5+deb10u1 | vulnerable | |
bullseye | 3.5-4+deb11u3 | vulnerable | |
bullseye (security) | 3.5-4+deb11u4 | fixed | |
bookworm | 3.6-4+deb12u1 | vulnerable | |
bookworm (security) | 3.6-4+deb12u2 | fixed | |
sid, trixie | 3.7-3.1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
needrestart | source | jessie | 1.2-8+deb8u3 | ELA-1238-1 | ||
needrestart | source | stretch | 2.11-3+deb9u3 | ELA-1238-1 | ||
needrestart | source | buster | 3.4-5+deb10u2 | ELA-1238-1 | ||
needrestart | source | bullseye | 3.5-4+deb11u4 | DLA-3957-1 | ||
needrestart | source | bookworm | 3.6-4+deb12u2 | DSA-5815-1 | ||
needrestart | source | (unstable) | 3.7-3.1 |
https://www.qualys.com/2024/11/19/needrestart/needrestart.txt
Fixed by; https://github.com/liske/needrestart/commit/b5f25f6ec6e7dd0c5be249e4e45de4ee9ffe594f (v3.8)