Race condition in needrestart - CVE-2024-48991
Published: November 27, 2024 / Updated: November 29, 2024
Vulnerability identifier: #VU100983
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-48991
CWE-ID: CWE-362
Exploitation vector: Local access
Exploit availability:
Public exploit is available
Vulnerability details
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to a race condition. A local user can force the application into running a malicious Python interpreter instead the system one and execute arbitrary code as root.
Affected software
needrestart
Debian Linux
Gentoo Linux
Fedora
Ubuntu
needrestart (Ubuntu package)
needrestart (Debian package)
app-admin/needrestart
needrestart
OpenManage Network Integration (OMNI)
Debian Linux
Gentoo Linux
Fedora
Ubuntu
needrestart (Ubuntu package)
needrestart (Debian package)
app-admin/needrestart
needrestart
OpenManage Network Integration (OMNI)
How to mitigate CVE-2024-48991
Install updates from vendor's website.
needrestart - update to 3.8
needrestart (Ubuntu package) - addressed in versions Ubuntu Pro, 3.5-5ubuntu2.3, 3.5-5ubuntu2.4, 3.6-7ubuntu4.4, 3.6-7ubuntu4.5, 3.6-8ubuntu4.3, 3.6-8ubuntu4.4
needrestart (Debian package) - update to 3.6-4+deb12u2
OpenManage Network Integration (OMNI) - update to 3.7
app-admin/needrestart - update to 3.8
needrestart - addressed in versions 3.8-1.el8, 3.8-1.el9, 3.8-1.fc39, 3.8-1.fc40, 3.8-1.fc41
needrestart (Ubuntu package) - addressed in versions Ubuntu Pro, 3.5-5ubuntu2.3, 3.5-5ubuntu2.4, 3.6-7ubuntu4.4, 3.6-7ubuntu4.5, 3.6-8ubuntu4.3, 3.6-8ubuntu4.4
needrestart (Debian package) - update to 3.6-4+deb12u2
OpenManage Network Integration (OMNI) - update to 3.7
app-admin/needrestart - update to 3.8
needrestart - addressed in versions 3.8-1.el8, 3.8-1.el9, 3.8-1.fc39, 3.8-1.fc40, 3.8-1.fc41
Links to Public Exploits and PoC-codes
External References
Related Security Bulletins
- Multiple privilege escalation vulnerabilities in needrestart
- Debian update for needrestart
- Ubuntu update for needrestart
- Fedora EPEL 9 update for needrestart
- Fedora EPEL 8 update for needrestart
- Fedora 40 update for needrestart
- Fedora 41 update for needrestart
- Fedora 39 update for needrestart
- Ubuntu update for needrestart
- Multiple vulnerabilities in Dell OpenManage Network Integration (OMNI)
- Gentoo update for needrestart