VDB
CVE-2024-48992
CVE-2024-48992
PUBLISHED
CVSS 7.8 HIGH
Reported by canonical · Published November 19, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| needrestart | needrestart_project | 3.8 |
| needrestart | needrestart | 3.8 |
Risk scores
CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| needrestart | needrestart | 0 |
| needrestart | needrestart | 0 |
| needrestart_project | needrestart | 0 |
Timeline
- Nov 19, 2024 Coalition ESS Score (29 in total, the first dated here)
- Nov 19, 2024 CVE Published
- Nov 20, 2024 EPSS Score (30 in total, the first dated here)
- Nov 21, 2024 PoC Published (13 in total, the first dated here)
- Nov 3, 2025 CVE Updated
- Jun 2, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-48992
vulnetix vdb fixes CVE-2024-48992
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-48992/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- issue-tracking
- patch
- third-party-advisory
- https://www.openwall.com/lists/oss-security/2024/11/19/1 url
- http://seclists.org/fulldisclosure/2024/Nov/17 url
- https://lists.debian.org/debian-lts-announce/2024/11/msg00014.html advisory