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).
{
"cna_assigner": "canonical",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/48xxx/CVE-2024-48991.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:needrestart_project:needrestart:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "3.8"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "42af5d328901287a4f79d1f5861ac827a53fd56d"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "6ce6136cccc307c6b8a0f8cae12f9a22ac2aad59"
}
],
"source": "REFERENCES_COMMIT"
}
]
}