{"id":"CVE-2024-11003","state":"PUBLISHED","title":"Qualys discovered that needrestart, before version 3.8, passes unsanitized data to a library (Modules::ScanDeps) which expects safe input. This could allow a local attacker to exec","description":"Qualys discovered that needrestart, before version 3.8, passes unsanitized data to a library (Modules::ScanDeps) which expects safe input. This could allow a local attacker to execute arbitrary shell commands. Please see the related CVE-2024-10224 in Modules::ScanDeps.","publishedAt":"2024-11-19T17:36:36.682Z","updatedAt":"2025-11-03T21:51:44.254Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"canonical"},"assigner":"canonical","products":["needrestart needrestart"],"affected":[{"vendor":"needrestart","product":"needrestart","packageName":"needrestart","versions":[{"version":"0","status":"affected","lessThan":"3.8","versionType":"semver"}],"repo":"https://github.com/liske/needrestart","platforms":["Linux"]}],"references":["https://www.cve.org/CVERecord?id=CVE-2024-11003","https://github.com/liske/needrestart/commit/0f80a348883f72279a859ee655f58da34babefb0","https://www.qualys.com/2024/11/19/needrestart/needrestart.txt","https://www.cve.org/CVERecord?id=CVE-2024-10224","https://www.openwall.com/lists/oss-security/2024/11/19/1","http://seclists.org/fulldisclosure/2024/Nov/17","https://lists.debian.org/debian-lts-announce/2024/11/msg00014.html"],"weaknesses":["CWE-78"],"ingestedAt":"2026-10-29T20:06:50.777Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/11xxx/CVE-2024-11003.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-11003","state":"PUBLISHED","datePublished":"2024-11-19T17:36:36.682Z","dateUpdated":"2025-11-03T21:51:44.254Z","assignerShortName":"canonical","assignerOrgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","dateReserved":"2024-11-07T21:16:46.553Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"Qualys discovered that needrestart, before version 3.8, passes unsanitized data to a library (Modules::ScanDeps) which expects safe input. This could allow a local attacker to execute arbitrary shell commands. Please see the related CVE-2024-10224 in Modules::ScanDeps."}],"affected":[{"vendor":"needrestart","product":"needrestart","packageName":"needrestart","versions":[{"version":"0","status":"affected","lessThan":"3.8","versionType":"semver"}],"repo":"https://github.com/liske/needrestart","platforms":["Linux"]}],"references":[{"url":"https://www.cve.org/CVERecord?id=CVE-2024-11003","tags":["issue-tracking"]},{"url":"https://github.com/liske/needrestart/commit/0f80a348883f72279a859ee655f58da34babefb0","tags":["patch"]},{"url":"https://www.qualys.com/2024/11/19/needrestart/needrestart.txt","tags":["third-party-advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-10224","tags":["issue-tracking"]}],"metrics":[{"format":"CVSS","cvssV3_1":{"version":"3.1","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","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"}}],"providerMetadata":{"shortName":"canonical","orgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","dateUpdated":"2024-11-19T17:36:36.682Z"},"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;"}],"credits":[{"lang":"en","type":"finder","value":"Qualys"},{"lang":"en","type":"remediation developer","value":"Thomas Liske"},{"lang":"en","type":"coordinator","value":"Mark Esler"}]},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"needrestart_project","product":"needrestart","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"3.8","versionType":"semver"}],"cpes":["cpe:2.3:a:needrestart_project:needrestart:-:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-11-19T19:51:54.832013Z","id":"CVE-2024-11003","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","type":"CWE","lang":"en","description":"CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-11-19T19:52:56.040Z"}},{"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":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T21:51:44.254Z"}}]}}}