CVE-2024-48990
Ubuntu Security Notice USN-7117-3
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
13Exploited in Wild
-Decision
Descriptions
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.
The Qualys Threat Research Unit discovered several local privilege escalation vulnerabilities in needrestart, a utility to check which daemons need to be restarted after library upgrades. A local attacker can execute arbitrary code as root by tricking needrestart into running the Python interpreter with an attacker-controlled PYTHONPATH environment variable (CVE-2024-48990) or running the Ruby interpreter with an attacker-controlled RUBYLIB environment variable (CVE-2024-48992). Additionally a local attacker can trick needrestart into running a fake Python interpreter (CVE-2024-48991) or cause needrestart to call the Perl module Module::ScanDeps with attacker-controlled files (CVE-2024-11003).
CVSS Scores
SSVC
- Decision:Track*
Timeline
- 2024-10-11 CVE Reserved
- 2024-11-19 CVE Published
- 2024-11-20 First Exploit
- 2024-12-03 CVE Updated
- 2025-03-30 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-427: Uncontrolled Search Path Element
CAPEC
References (16)
URL | Tag | Source |
---|---|---|
https://www.cve.org/CVERecord?id=CVE-2024-48990 | Issue Tracking | |
https://www.qualys.com/2024/11/19/needrestart/needrestart.txt | Third Party Advisory |
URL | Date | SRC |
---|---|---|
https://packetstorm.news/files/id/183464 | 2025-01-10 | |
https://packetstorm.news/files/id/182765 | 2024-11-22 | |
https://github.com/makuga01/CVE-2024-48990-PoC | 2024-11-20 | |
https://github.com/pentestfunctions/CVE-2024-48990-PoC-Testing | 2024-11-24 | |
https://github.com/r0xdeadbeef/CVE-2024-48990 | 2024-12-01 | |
https://github.com/felmoltor/CVE-2024-48990 | 2024-11-22 | |
https://github.com/ns989/CVE-2024-48990 | 2024-11-22 | |
https://github.com/Cyb3rFr0g/CVE-2024-48990-PoC | 2024-11-24 | |
https://github.com/ally-petitt/CVE-2024-48990-Exploit | 2024-11-25 | |
https://github.com/njeru-codes/needrestart-vulnerability-poc | 2024-11-24 | |
https://github.com/CyberCrowCC/CVE-2024-48990 | 2024-12-09 | |
https://github.com/NullByte-7w7/CVE-2024-48990 | 2024-12-19 | |
https://github.com/ten-ops/CVE-2024-48990_needrestart | 2025-02-16 |
URL | Date | SRC |
---|---|---|
https://github.com/liske/needrestart/commit/fcc9a4401392231bef4ef5ed026a0d7a275149ab | 2024-11-19 |
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Needrestart Search vendor "Needrestart" | Needrestart Search vendor "Needrestart" for product "Needrestart" | < 3.8 Search vendor "Needrestart" for product "Needrestart" and version " < 3.8" | en |
Affected
|