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 RUBYLIB environment variable.
Configurations

Configuration 1 (hide)

cpe:2.3:a:needrestart_project:needrestart:*:*:*:*:*:*:*:*

History

03 Jul 2025, 16:08

Type Values Removed Values Added
References () https://github.com/liske/needrestart/commit/b5f25f6ec6e7dd0c5be249e4e45de4ee9ffe594f - () https://github.com/liske/needrestart/commit/b5f25f6ec6e7dd0c5be249e4e45de4ee9ffe594f - Patch
References () https://www.cve.org/CVERecord?id=CVE-2024-48992 - () https://www.cve.org/CVERecord?id=CVE-2024-48992 - VDB Entry
References () https://www.qualys.com/2024/11/19/needrestart/needrestart.txt - () https://www.qualys.com/2024/11/19/needrestart/needrestart.txt - Third Party Advisory
References () https://www.openwall.com/lists/oss-security/2024/11/19/1 - () https://www.openwall.com/lists/oss-security/2024/11/19/1 - Mailing List
CPE cpe:2.3:a:needrestart_project:needrestart:*:*:*:*:*:*:*:*
First Time Needrestart Project
Needrestart Project needrestart

03 Dec 2024, 14:15

Type Values Removed Values Added
Summary
  • (es) Qualys descubrió que needrestart, antes de la versión 3.8, permite a atacantes locales ejecutar código arbitrario como superusuario engañando a needrestart para que ejecute el intérprete de Ruby con una variable de entorno RUBYLIB controlada por el atacante.
References
  • () https://www.openwall.com/lists/oss-security/2024/11/19/1 -

19 Nov 2024, 20:35

Type Values Removed Values Added
CWE CWE-427

19 Nov 2024, 18:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-11-19 18:15

Updated : 2025-07-03 16:08


NVD link : CVE-2024-48992

Mitre link : CVE-2024-48992

CVE.ORG link : CVE-2024-48992


JSON object : View

Products Affected

needrestart_project

  • needrestart
CWE
CWE-427

Uncontrolled Search Path Element