USN-7117-2: needrestart regression

Published Nov 26, 2024
·
Updated

USN-7117-1 fixed vulnerabilities in needrestart. The update introduced a regression in needrestart. This update fixes the problem. 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 Software

12 affected componentsFixes available
All of the following
ubuntu/needrestart<3.6-8ubuntu4.3
3.6-8ubuntu4.3
Ubuntu Ubuntu=24.10
All of the following
ubuntu/needrestart<3.6-7ubuntu4.4
3.6-7ubuntu4.4
Ubuntu Ubuntu=24.04
All of the following
ubuntu/needrestart<3.5-5ubuntu2.3
3.5-5ubuntu2.3
Ubuntu Ubuntu=22.04
All of the following
ubuntu/needrestart<3.4-6ubuntu0.1+esm2
3.4-6ubuntu0.1+esm2
Ubuntu Ubuntu=20.04
All of the following
ubuntu/needrestart<3.1-1ubuntu0.1+esm2
3.1-1ubuntu0.1+esm2
Ubuntu Ubuntu=18.04
All of the following
ubuntu/needrestart<2.6-1ubuntu0.1~esm2
2.6-1ubuntu0.1~esm2
Ubuntu Ubuntu=16.04

Event History

Nov 26, 2024
Advisory Published
via Ubuntu·12:00 AM

Frequently Asked Questions

1

What is the severity of USN-7117-2?

USN-7117-2 addresses a regression introduced in needrestart, but does not specify a severity level.

2

How do I fix USN-7117-2?

To fix USN-7117-2, update the needrestart package to the latest version provided by Ubuntu.

3

What Ubuntu versions are affected by USN-7117-2?

USN-7117-2 affects Ubuntu versions 24.10, 24.04, 22.04, 20.04, 18.04, and 16.04.

4

What packages are involved in USN-7117-2?

USN-7117-2 involves the needrestart package with specific versions listed in the advisory.

5

What was the issue fixed in USN-7117-2?

USN-7117-2 fixed a regression in needrestart that resulted from a prior update.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203