{"id":"CVE-2024-48991","published":"2024-11-19T17:38:15Z","modified":"2025-11-03T22:22:10Z","title":"Qualys discovered that needrestart, before version 3.8, allows local attackers to execute arbitrary code as root by…","vendor":"needrestart","product":"needrestart","tier":"tail","description":{"text":"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).","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00275,"percentile":0.12603,"provenance":"source"},"cwes":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"}],"references":[{"url":"https://www.cve.org/CVERecord?id=CVE-2024-48991","tags":["issue-tracking"]},{"url":"https://github.com/liske/needrestart/commit/6ce6136cccc307c6b8a0f8cae12f9a22ac2aad59","tags":["patch"]},{"url":"https://github.com/liske/needrestart/commit/42af5d328901287a4f79d1f5861ac827a53fd56d","tags":["patch"]},{"url":"https://www.qualys.com/2024/11/19/needrestart/needrestart.txt","tags":["third-party-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2024/11/30/4","tags":[]},{"url":"https://www.openwall.com/lists/oss-security/2024/11/19/1","tags":[]},{"url":"http://seclists.org/fulldisclosure/2024/Nov/17","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00014.html","tags":[]}],"priority":{"score":8.0,"factors":[{"name":"EPSS percentile","points":2.52},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"needrestart","affectedVersions":[{"vendor":"needrestart","product":"needrestart","versions":["< 3.8"]}],"workarounds":{"items":["Edit /etc/needrestart/needrestart.conf so that the following line appears after \"# Disable interpreter scanners.\" and reboot: $nrconf{interpscan} = 0;"],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-11-19T19:36:17.501931Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-43194","exploited":false,"provenance":"source"}}