PT-2024-8542

CVE-2024-48991

·

Published

2024-11-17

·

Updated

2025-02-07

Description by

CVSS 3.1
7.8
High
MetricsAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions needrestart versions prior to 3.8
Description The issue is related to a race condition that allows local attackers to execute arbitrary code as root by tricking needrestart into running a fake Python interpreter. This is achieved by winning a race condition and substituting the system's real Python interpreter with a malicious one. The initial security fix introduced a regression, which was subsequently resolved.
Recommendations For needrestart versions prior to 3.8, update to version 3.8 or later to resolve the issue. As a temporary workaround, consider restricting access to the usr/bin/python file to prevent substitution with a malicious executable until a patch is applied.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
DLA-3957-1
DLA-3957-2
DSA-5815-1
DSA-5815-2
USN-7117-1
USN-7117-2
USN-7117-3
Found an issue in the description? Have something to add? Feel free to write us 👾