ubuntu-cve-2024-48991
Vulnerability from osv_ubuntu
Published
2024-11-19 16:00
Modified
2026-01-20 05:21
Summary
Details
Qualys discovered that needrestart, before version 3.8, allows local attackers to execute arbitrary code as root by winning a race condition and tricking needrestart into running their own, fake Python interpreter (instead of the system's real Python interpreter). The initial security fix (6ce6136) introduced a regression which was subsequently resolved (42af5d3).
Severity
7.8 (High)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "needrestart",
"binary_version": "2.6-1ubuntu0.1~esm1"
}
],
"priority_reason": "Local privilege escalation"
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "needrestart",
"purl": "pkg:deb/ubuntu/needrestart@2.6-1ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.6-1ubuntu0.1~esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.1-1",
"2.3-2",
"2.4-1",
"2.5-1",
"2.6-1"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "needrestart",
"binary_version": "3.1-1ubuntu0.1+esm1"
}
],
"priority_reason": "Local privilege escalation"
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "needrestart",
"purl": "pkg:deb/ubuntu/needrestart@3.1-1ubuntu0.1+esm1?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.1-1ubuntu0.1+esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.11-4",
"3.0-1",
"3.1-1",
"3.1-1ubuntu0.1"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "needrestart",
"binary_version": "3.4-6ubuntu0.1+esm1"
}
],
"priority_reason": "Local privilege escalation"
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "needrestart",
"purl": "pkg:deb/ubuntu/needrestart@3.4-6ubuntu0.1+esm1?arch=source\u0026distro=esm-apps/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.4-6ubuntu0.1+esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.4-5",
"3.4-6",
"3.4-6ubuntu0.1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "needrestart",
"binary_version": "3.5-5ubuntu2.2"
}
],
"priority_reason": "Local privilege escalation"
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "needrestart",
"purl": "pkg:deb/ubuntu/needrestart@3.5-5ubuntu2.2?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.5-5ubuntu2.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.5-4ubuntu2",
"3.5-5ubuntu1",
"3.5-5ubuntu2",
"3.5-5ubuntu2.1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "needrestart",
"binary_version": "3.6-7ubuntu4.3"
}
],
"priority_reason": "Local privilege escalation"
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "needrestart",
"purl": "pkg:deb/ubuntu/needrestart@3.6-7ubuntu4.3?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.6-7ubuntu4.3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.6-5",
"3.6-6",
"3.6-7",
"3.6-7ubuntu3",
"3.6-7ubuntu4",
"3.6-7ubuntu4.1"
]
}
],
"aliases": [],
"details": "Qualys discovered that needrestart, before version 3.8, allows local attackers to execute arbitrary code as root by winning a race condition and tricking needrestart into running their own, fake Python interpreter (instead of the system\u0027s real Python interpreter). The initial security fix (6ce6136) introduced a regression which was subsequently resolved (42af5d3).",
"id": "UBUNTU-CVE-2024-48991",
"modified": "2026-01-20T05:21:49Z",
"published": "2024-11-19T16:00:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2024-48991"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2024-48991"
},
{
"type": "REPORT",
"url": "https://www.qualys.com/2024/11/19/needrestart/needrestart.txt"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-7117-1"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-7117-2"
},
{
"type": "REPORT",
"url": "https://github.com/liske/needrestart/issues/317"
}
],
"related": [
"USN-7117-1",
"USN-7117-2"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "high",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2024-48991"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…