CWE
362
Advisory Published

USN-7117-3: needrestart regression

First published: Thu Dec 05 2024(Updated: )

USN-7117-1 fixed vulnerabilities in needrestart. The update introduced a regression in needrestart. This update fixes the problem for LXC containers. We apologize for the inconvenience. Original advisory details: Qualys discovered that needrestart passed unsanitized data to a library (libmodule-scandeps-perl) which expects safe input. A local attacker could possibly use this issue to execute arbitrary code as root. (CVE-2024-11003) Qualys discovered that the library libmodule-scandeps-perl incorrectly parsed perl code. This could allow a local attacker to execute arbitrary shell commands. (CVE-2024-10224) Qualys discovered that needrestart incorrectly used the PYTHONPATH environment variable to spawn a new Python interpreter. A local attacker could possibly use this issue to execute arbitrary code as root. (CVE-2024-48990) Qualys discovered that needrestart incorrectly checked the path to the Python interpreter. A local attacker could possibly use this issue to win a race condition and execute arbitrary code as root. (CVE-2024-48991) Qualys discovered that needrestart incorrectly used the RUBYLIB environment variable to spawn a new Ruby interpreter. A local attacker could possibly use this issue to execute arbitrary code as root. (CVE-2024-48992)

Affected SoftwareAffected VersionHow to fix
All of
ubuntu/needrestart<3.6-8ubuntu4.4
3.6-8ubuntu4.4
Ubuntu Ubuntu=24.10
All of
ubuntu/needrestart<3.6-7ubuntu4.5
3.6-7ubuntu4.5
Ubuntu Ubuntu=24.04
All of
ubuntu/needrestart<3.5-5ubuntu2.4
3.5-5ubuntu2.4
Ubuntu Ubuntu=22.04
All of
ubuntu/needrestart<3.4-6ubuntu0.1+esm3
3.4-6ubuntu0.1+esm3
Ubuntu Ubuntu=20.04
All of
ubuntu/needrestart<3.1-1ubuntu0.1+esm3
3.1-1ubuntu0.1+esm3
Ubuntu Ubuntu=18.04
All of
ubuntu/needrestart<2.6-1ubuntu0.1~esm3
2.6-1ubuntu0.1~esm3
Ubuntu Ubuntu=16.04

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203