A vulnerability in needrestart was discovered where it did not properly handle systemd cgroup paths and process names. This flaw could allow a local attacker to escalate privileges on the affected system. The issue affects multiple versions of needrestart across various Ubuntu releases. Fixes have been released for all affected versions, and updating the system to the patched versions resolves the vulnerability.