CVE-2024-48992

Publication date 19 November 2024

Last updated 20 November 2024


Ubuntu priority

Cvss 3 Severity Score

7.8 · High

Score breakdown

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.

Why is this CVE high priority?

Local privilege escalation

Learn more about Ubuntu priority

Mitigation

Edit /etc/needrestart/needrestart.conf so that the following line appears after "# Disable interpreter scanners." and reboot: $nrconf{interpscan} = 0;

Status

Package Ubuntu Release Status
needrestart 24.10 oracular
Fixed 3.6-8ubuntu4.2
24.04 LTS noble
Fixed 3.6-7ubuntu4.3
22.04 LTS jammy
Fixed 3.5-5ubuntu2.2
20.04 LTS focal
18.04 LTS bionic
16.04 LTS xenial

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
needrestart

Severity score breakdown

Parameter Value
Base score 7.8 · High
Attack vector Local
Attack complexity Low
Privileges required Low
User interaction None
Scope Unchanged
Confidentiality High
Integrity impact High
Availability impact High
Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References

Related Ubuntu Security Notices (USN)

    • USN-7117-1
    • needrestart and Module::ScanDeps vulnerabilities
    • 19 November 2024

Other references