CVE-2024-48990 (GCVE-0-2024-48990)
Vulnerability from cvelistv5 – Published: 2024-11-19 17:38 – Updated: 2025-11-03 22:22
VLAI
EPSS
VEX
Summary
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.
Severity
7.8 (High)
SSVC
Exploitation: none
Automatable: no
Technical Impact: total
CISA Coordinator (v2.0.3)
CWE
- CWE-427 - Uncontrolled Search Path Element
Assigner
References
6 references
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| needrestart | needrestart |
Affected:
0 , < 3.8
(semver)
|
|
| needrestart_project | needrestart |
Affected:
0 , < 3.8
(semver)
cpe:2.3:a:needrestart_project:needrestart:-:*:*:*:*:*:*:* |
Credits
{
"containers": {
"adp": [
{
"affected": [
{
"cpes": [
"cpe:2.3:a:needrestart_project:needrestart:-:*:*:*:*:*:*:*"
],
"defaultStatus": "unknown",
"product": "needrestart",
"vendor": "needrestart_project",
"versions": [
{
"lessThan": "3.8",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
}
],
"metrics": [
{
"other": {
"content": {
"id": "CVE-2024-48990",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-11-19T19:47:39.271392Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-427",
"description": "CWE-427 Uncontrolled Search Path Element",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2024-11-19T19:49:07.357Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
},
{
"providerMetadata": {
"dateUpdated": "2025-11-03T22:22:08.006Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"url": "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"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"packageName": "needrestart",
"platforms": [
"Linux"
],
"product": "needrestart",
"repo": "https://github.com/liske/needrestart",
"vendor": "needrestart",
"versions": [
{
"lessThan": "3.8",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Qualys"
},
{
"lang": "en",
"type": "remediation developer",
"value": "Thomas Liske"
},
{
"lang": "en",
"type": "coordinator",
"value": "Mark Esler"
}
],
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 7.8,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"format": "CVSS"
}
],
"providerMetadata": {
"dateUpdated": "2024-11-19T17:38:07.238Z",
"orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
"shortName": "canonical"
},
"references": [
{
"tags": [
"issue-tracking"
],
"url": "https://www.cve.org/CVERecord?id=CVE-2024-48990"
},
{
"tags": [
"patch"
],
"url": "https://github.com/liske/needrestart/commit/fcc9a4401392231bef4ef5ed026a0d7a275149ab"
},
{
"tags": [
"third-party-advisory"
],
"url": "https://www.qualys.com/2024/11/19/needrestart/needrestart.txt"
}
],
"workarounds": [
{
"lang": "en",
"value": "Edit /etc/needrestart/needrestart.conf so that the following line\nappears after \"# Disable interpreter scanners.\" and reboot:\n$nrconf{interpscan} = 0;"
}
]
}
},
"cveMetadata": {
"assignerOrgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
"assignerShortName": "canonical",
"cveId": "CVE-2024-48990",
"datePublished": "2024-11-19T17:38:07.238Z",
"dateReserved": "2024-10-11T16:13:54.153Z",
"dateUpdated": "2025-11-03T22:22:08.006Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2024-48990",
"date": "2026-07-10",
"epss": "0.19924",
"percentile": "0.97121"
},
"fkie_nvd": {
"descriptions": "[{\"lang\": \"en\", \"value\": \"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.\"}, {\"lang\": \"es\", \"value\": \"Qualys descubri\\u00f3 que needrestart, antes de la versi\\u00f3n 3.8, permite a los atacantes locales ejecutar c\\u00f3digo arbitrario como superusuario enga\\u00f1ando a needrestart para que ejecute el int\\u00e9rprete de Python con una variable de entorno PYTHONPATH controlada por el atacante.\"}]",
"id": "CVE-2024-48990",
"lastModified": "2024-12-03T14:15:20.627",
"metrics": "{\"cvssMetricV31\": [{\"source\": \"security@ubuntu.com\", \"type\": \"Secondary\", \"cvssData\": {\"version\": \"3.1\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\", \"baseScore\": 7.8, \"baseSeverity\": \"HIGH\", \"attackVector\": \"LOCAL\", \"attackComplexity\": \"LOW\", \"privilegesRequired\": \"LOW\", \"userInteraction\": \"NONE\", \"scope\": \"UNCHANGED\", \"confidentialityImpact\": \"HIGH\", \"integrityImpact\": \"HIGH\", \"availabilityImpact\": \"HIGH\"}, \"exploitabilityScore\": 1.8, \"impactScore\": 5.9}]}",
"published": "2024-11-19T18:15:21.530",
"references": "[{\"url\": \"https://github.com/liske/needrestart/commit/fcc9a4401392231bef4ef5ed026a0d7a275149ab\", \"source\": \"security@ubuntu.com\"}, {\"url\": \"https://www.cve.org/CVERecord?id=CVE-2024-48990\", \"source\": \"security@ubuntu.com\"}, {\"url\": \"https://www.qualys.com/2024/11/19/needrestart/needrestart.txt\", \"source\": \"security@ubuntu.com\"}, {\"url\": \"https://www.openwall.com/lists/oss-security/2024/11/19/1\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}]",
"sourceIdentifier": "security@ubuntu.com",
"vulnStatus": "Awaiting Analysis",
"weaknesses": "[{\"source\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"type\": \"Secondary\", \"description\": [{\"lang\": \"en\", \"value\": \"CWE-427\"}]}]"
},
"nvd": "{\"cve\":{\"id\":\"CVE-2024-48990\",\"sourceIdentifier\":\"security@ubuntu.com\",\"published\":\"2024-11-19T18:15:21.530\",\"lastModified\":\"2026-06-17T07:59:11.790\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"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.\"},{\"lang\":\"es\",\"value\":\"Qualys descubri\u00f3 que needrestart, antes de la versi\u00f3n 3.8, permite a los atacantes locales ejecutar c\u00f3digo arbitrario como superusuario enga\u00f1ando a needrestart para que ejecute el int\u00e9rprete de Python con una variable de entorno PYTHONPATH controlada por el atacante.\"}],\"affected\":[{\"source\":\"security@ubuntu.com\",\"affectedData\":[{\"vendor\":\"needrestart\",\"product\":\"needrestart\",\"packageName\":\"needrestart\",\"platforms\":[\"Linux\"],\"repo\":\"https://github.com/liske/needrestart\",\"versions\":[{\"version\":\"0\",\"lessThan\":\"3.8\",\"versionType\":\"semver\",\"status\":\"affected\"}]}]},{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"affectedData\":[{\"vendor\":\"needrestart_project\",\"product\":\"needrestart\",\"defaultStatus\":\"unknown\",\"cpes\":[\"cpe:2.3:a:needrestart_project:needrestart:-:*:*:*:*:*:*:*\"],\"versions\":[{\"version\":\"0\",\"lessThan\":\"3.8\",\"versionType\":\"semver\",\"status\":\"affected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"security@ubuntu.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9}],\"ssvcV203\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"ssvcData\":{\"timestamp\":\"2024-11-19T19:47:39.271392Z\",\"id\":\"CVE-2024-48990\",\"options\":[{\"exploitation\":\"none\"},{\"automatable\":\"no\"},{\"technicalImpact\":\"total\"}],\"role\":\"CISA Coordinator\",\"version\":\"2.0.3\"}}]},\"weaknesses\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-427\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:needrestart_project:needrestart:*:*:*:*:*:*:*:*\",\"versionEndExcluding\":\"3.8\",\"matchCriteriaId\":\"C03A2810-FF65-4ECC-B74A-0C081E4EC149\"}]}]}],\"references\":[{\"url\":\"https://github.com/liske/needrestart/commit/fcc9a4401392231bef4ef5ed026a0d7a275149ab\",\"source\":\"security@ubuntu.com\",\"tags\":[\"Patch\"]},{\"url\":\"https://www.cve.org/CVERecord?id=CVE-2024-48990\",\"source\":\"security@ubuntu.com\",\"tags\":[\"VDB Entry\"]},{\"url\":\"https://www.qualys.com/2024/11/19/needrestart/needrestart.txt\",\"source\":\"security@ubuntu.com\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"http://seclists.org/fulldisclosure/2024/Nov/17\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://lists.debian.org/debian-lts-announce/2024/11/msg00014.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://www.openwall.com/lists/oss-security/2024/11/19/1\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Mailing List\"]}]}}",
"redhat_vex": {
"current_release_date": "2025-11-21T14:22:44+00:00",
"cve": "CVE-2024-48990",
"id": "CVE-2024-48990",
"initial_release_date": "2024-11-19T17:38:07.238000+00:00",
"product_status:known_not_affected": "1",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "needrestart: arbitrary code execution via PYTHONPATH environment variable",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-48990.json",
"version": "3"
},
"vulnrichment": {
"containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"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\"}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2025-11-03T22:22:08.006Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-48990\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-11-19T19:47:39.271392Z\"}}}], \"affected\": [{\"cpes\": [\"cpe:2.3:a:needrestart_project:needrestart:-:*:*:*:*:*:*:*\"], \"vendor\": \"needrestart_project\", \"product\": \"needrestart\", \"versions\": [{\"status\": \"affected\", \"version\": \"0\", \"lessThan\": \"3.8\", \"versionType\": \"semver\"}], \"defaultStatus\": \"unknown\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-427\", \"description\": \"CWE-427 Uncontrolled Search Path Element\"}]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-11-19T19:48:13.260Z\"}}], \"cna\": {\"credits\": [{\"lang\": \"en\", \"type\": \"finder\", \"value\": \"Qualys\"}, {\"lang\": \"en\", \"type\": \"remediation developer\", \"value\": \"Thomas Liske\"}, {\"lang\": \"en\", \"type\": \"coordinator\", \"value\": \"Mark Esler\"}], \"metrics\": [{\"format\": \"CVSS\", \"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 7.8, \"attackVector\": \"LOCAL\", \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"LOW\", \"confidentialityImpact\": \"HIGH\"}}], \"affected\": [{\"repo\": \"https://github.com/liske/needrestart\", \"vendor\": \"needrestart\", \"product\": \"needrestart\", \"versions\": [{\"status\": \"affected\", \"version\": \"0\", \"lessThan\": \"3.8\", \"versionType\": \"semver\"}], \"platforms\": [\"Linux\"], \"packageName\": \"needrestart\"}], \"references\": [{\"url\": \"https://www.cve.org/CVERecord?id=CVE-2024-48990\", \"tags\": [\"issue-tracking\"]}, {\"url\": \"https://github.com/liske/needrestart/commit/fcc9a4401392231bef4ef5ed026a0d7a275149ab\", \"tags\": [\"patch\"]}, {\"url\": \"https://www.qualys.com/2024/11/19/needrestart/needrestart.txt\", \"tags\": [\"third-party-advisory\"]}], \"workarounds\": [{\"lang\": \"en\", \"value\": \"Edit /etc/needrestart/needrestart.conf so that the following line\\nappears after \\\"# Disable interpreter scanners.\\\" and reboot:\\n$nrconf{interpscan} = 0;\"}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"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.\"}], \"providerMetadata\": {\"orgId\": \"cc1ad9ee-3454-478d-9317-d3e869d708bc\", \"shortName\": \"canonical\", \"dateUpdated\": \"2024-11-19T17:38:07.238Z\"}}}",
"cveMetadata": "{\"cveId\": \"CVE-2024-48990\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2025-11-03T22:22:08.006Z\", \"dateReserved\": \"2024-10-11T16:13:54.153Z\", \"assignerOrgId\": \"cc1ad9ee-3454-478d-9317-d3e869d708bc\", \"datePublished\": \"2024-11-19T17:38:07.238Z\", \"assignerShortName\": \"canonical\"}",
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
}
}
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…