A vulnerability has been found in needrestart up to 3.7 and classified as critical. Affected by this vulnerability is an unknown functionality of the component Environment Variable Handler. The manipulation of the argument RUBYLIB leads to Local Privilege Escalation.

This vulnerability is known as CVE-2024-48992. The attack needs to be approached locally. There is no exploit available.

It is recommended to upgrade the affected component.