CVE-2024-48992

HIGH EPSS 93.0%
Published Nov 19, 20241y ago · Modified Jun 17, 20261w ago
7.8 CVSS 3.1
High
Find Similar
Published Nov 19, 2024 1y ago
Last Modified Jun 17, 2026 1w ago

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.

CVSS Details

Base Score
7.8
Exploitability
1.8
Impact
5.9
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High

Threat Intelligence

EPSS Exploit Probability
93.0% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-427

Affected Products 1

VendorProductVersionRange
needrestart_projectneedrestart* <3.8

References 6

  • seclists.org http://seclists.org/fulldisclosure/2024/Nov/17
  • github.com https://github.com/liske/needrestart/commit/b5f25f6ec6e7dd0c5be249e4e45de4ee9ffe594f
    Patch
  • lists.debian.org https://lists.debian.org/debian-lts-announce/2024/11/msg00014.html
  • cve.org https://www.cve.org/CVERecord?id=CVE-2024-48992
    VDB Entry
  • openwall.com https://www.openwall.com/lists/oss-security/2024/11/19/1
    Mailing List
  • qualys.com https://www.qualys.com/2024/11/19/needrestart/needrestart.txt
    Third Party Advisory

Remediation

  • github.com https://github.com/liske/needrestart/commit/b5f25f6ec6e7dd0c5be249e4e45de4ee9ffe594f
    Patch