SecurityContext

CVE-2024-48990: Qualys needrestart - Remote Code Execution

  • Cve: CVE-2024-48990
  • Name: Qualys needrestart - Remote Code Execution
  • 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.
  • Impact: Local attackers can execute arbitrary code as root, leading to complete system compromise.
  • Remediation: Update needrestart to version 3.8 or later.
  • Vulnerability type: insecure_deserialization
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.29202
  • Epss percentile: 0.98217
  • Assignee: [email protected]
  • Published at: 2024-11-19T18:15:21Z
  • Age in days: 735
  • Modified at: 2026-06-17T07:59:11Z
  • Patch available: yes
  • Public exploits total: 20
  • References total: 6
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-48990
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-427Uncontrolled Search Path Element

Public exploits

Same in every row:

  • Source: poc-in-github
UrlAdded date
https://github.com/BLUEBERRYP1LL/CVE-2024-489902026-02-13
https://github.com/grecosamuel/CVE-2024-489902025-12-22
https://github.com/sobbing333/CVE-2024-48990-POC2025-12-21
https://github.com/o-sec/CVE-2024-489902025-12-16
https://github.com/0x3bs/CVE-2024-489902025-12-01

References

Same in every row:

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

Products

ProductAffectedPlatform boundSourcesUrl
needrestart_project:needrestart< 3.8nonvd/v1/products/needrestart_project/needrestart

Projects

RepositoryLink kindsIndexedUrl
liske/needrestartcommit, fixyes/v1/repositories/liske/needrestart

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Exploitation seen: yes
  • Public exploit: yes
  • Public exploit count: 20
  • Public exploit first date: 2024-11-19
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts