Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-48990

Quick assessment

Affected
needrestart needrestart
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

needrestart是liske个人开发者的一款用于检查升级后需要重新启动哪些守护进程的工具。 needrestart 3.8之前版本存在安全漏洞,该漏洞源于允许本地攻击者通过诱骗needrestart使用攻击者控制的PYTHONPATH环境变量运行Python解释器,并以root身份执行任意代码。

CVSS 7.8 · High EPSS 21.27% · P98

Public Exploits 1

Possible ATT&CK Techniques 1 AI

T1055.010
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-48990

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
N/A
Source: CVE Program / CVE List V5
Vulnerability Description
Qualys discovered that needrestart, before version 3.8, allows local attackers to execute arbitrary code as root by tricking needrestart into running the Python interpreter with an attacker-controlled PYTHONPATH environment variable.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
needrestart 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
needrestart是liske个人开发者的一款用于检查升级后需要重新启动哪些守护进程的工具。 needrestart 3.8之前版本存在安全漏洞,该漏洞源于允许本地攻击者通过诱骗needrestart使用攻击者控制的PYTHONPATH环境变量运行Python解释器,并以root身份执行任意代码。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
needrestart needrestart 0 ~ 3.8 -

II. Public POCs for CVE-2024-48990

# POC Description Source Link Shenlong Link
1 PoC for CVE-2024-48990 https://github.com/makuga01/CVE-2024-48990-PoC POC Details
2 Exploit for CVE-2024-48990 (Local Privilege Escalation in needrestart < 3.8) https://github.com/ns989/CVE-2024-48990 POC Details
3 Qualys needsrestart vulnerability CVE-2024-48990 https://github.com/felmoltor/CVE-2024-48990 POC Details
4 My take on the needrestart Python CVE-2024-48990 https://github.com/Cyb3rFr0g/CVE-2024-48990-PoC POC Details
5 Testing POC for use cases https://github.com/pentestfunctions/CVE-2024-48990-PoC-Testing POC Details
6 Qualys discovered that needrestart, before version 3.8, allows local attackers to execute arbitrary code as root by tricking needrestart into running the Python interpreter with an attacker-controlled PYTHONPATH environment variable. https://github.com/r0xdeadbeef/CVE-2024-48990-exploit POC Details
7 A Local Privilege Escalation poc scipts for CVE-2024-48990, CVE-2024-48991, CVE-2024-48992, CVE-2024-10224, and CVE-2024-11003 https://github.com/njeru-codes/needrestart-vulnerability-poc POC Details
8 My exploit for CVE-2024-48990. Full details of how I made this are on my blog. https://github.com/ally-petitt/CVE-2024-48990-Exploit POC Details
9 Needrestart, prior to version 3.8, contains a vulnerability that allows local attackers to execute arbitrary code with root privileges. This is achieved by manipulating the PYTHONPATH environment variable to trick needrestart into running the Python interpreter in an unsafe context. https://github.com/r0xdeadbeef/CVE-2024-48990 POC Details
10 None https://github.com/CyberCrowCC/CVE-2024-48990 POC Details
11 None https://github.com/NullByte-7w7/CVE-2024-48990 POC Details
12 Exploit for CVE-2024-48990 - Privilege Escalation in Needrestart 3.7-3. For eductional purposes only https://github.com/ten-ops/CVE-2024-48990_needrestart POC Details
13 Needrestart, prior to version 3.8, contains a vulnerability that allows local attackers to execute arbitrary code with root privileges. This is achieved by manipulating the PYTHONPATH environment variable to trick needrestart into running the Python interpreter in an unsafe context. https://github.com/r0xDB/CVE-2024-48990 POC Details
14 Needrestart, prior to version 3.8, contains a vulnerability that allows local attackers to execute arbitrary code with root privileges. This is achieved by manipulating the PYTHONPATH environment variable to trick needrestart into running the Python interpreter in an unsafe context. https://github.com/R0XDEADBEEF/CVE-2024-48990 POC Details
15 Automated local privilege escalation exploit for CVE-2024-48990 (needrestart v3.7), leveraging PYTHONPATH hijacking to gain root access. https://github.com/Serner77/CVE-2024-48990-Automatic-Exploit POC Details
16 Full exploit for needsrestart setuid root shell https://github.com/mladicstefan/CVE-2024-48990 POC Details
17 PoC for CVE-2024-48990 https://github.com/Mr-DJ/CVE-2024-48990 POC Details
18 None https://github.com/Loaxert/CVE-2024-48990-PoC POC Details
19 i tried this in Conversor HTB machine https://github.com/0x3bs/CVE-2024-48990 POC Details
20 an exploit for CVE-2024-48990 ( Local Privilege Escalation ) in needrestart https://github.com/o-sec/CVE-2024-48990 POC Details
21 Local privilege escalation exploit for needrestart (CVE-2024-48990) https://github.com/tahsinunluturk/needrestart-privesc-cve-2024-48990 POC Details
22 Simple poc for CVE-2024-48990 privilege escalation vulnerability with needrestart. https://github.com/sobbing333/CVE-2024-48990-POC POC Details
23 PoC about CVE-2024-48990. Qualys discovered that needrestart, before version 3.8, allows local attackers to execute arbitrary code as root by tricking needrestart into running the Python interpreter with an attacker-controlled PYTHONPATH environment variable. (NIST) https://github.com/grecosamuel/CVE-2024-48990 POC Details
24 needrestart < 3.8 Local Privilege Escalation via PYTHONPATH injection https://github.com/BLUEBERRYP1LL/CVE-2024-48990 POC Details
AI-Generated POC Premium
Qwen3.6-35B-A3B · 7456 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2024-48990

请登录查看更多情报信息。

Vendor Advisories for CVE-2024-48990 (1)

Same Patch Batch · needrestart · 2024-11-19 · 4 CVEs total

CVE-2024-11003 7.8 HIGH needrestart 安全漏洞
CVE-2024-48992 7.8 HIGH needrestart 安全漏洞
CVE-2024-48991 7.8 HIGH needrestart 安全漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2024-48990

No comments yet


Leave a comment