USN-7117-1: needrestart and Module::ScanDeps vulnerabilities

Published Nov 19, 2024
·
Updated

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

24 affected componentsFixes available
All of the following
ubuntu/libmodule-scandeps-perl<1.35-1ubuntu0.24.10.1
1.35-1ubuntu0.24.10.1
Ubuntu Ubuntu=24.10
All of the following
ubuntu/needrestart<3.6-8ubuntu4.2
3.6-8ubuntu4.2
Ubuntu Ubuntu=24.10
All of the following
ubuntu/libmodule-scandeps-perl<1.35-1ubuntu0.24.04.1
1.35-1ubuntu0.24.04.1
Ubuntu Ubuntu=24.04
All of the following
ubuntu/needrestart<3.6-7ubuntu4.3
3.6-7ubuntu4.3
Ubuntu Ubuntu=24.04
All of the following
ubuntu/libmodule-scandeps-perl<1.31-1ubuntu0.1
1.31-1ubuntu0.1
Ubuntu Ubuntu=22.04
All of the following
ubuntu/needrestart<3.5-5ubuntu2.2
3.5-5ubuntu2.2
Ubuntu Ubuntu=22.04
All of the following
ubuntu/libmodule-scandeps-perl<1.27-1ubuntu0.1~esm1
1.27-1ubuntu0.1~esm1
Ubuntu Ubuntu=20.04
All of the following
ubuntu/needrestart<3.4-6ubuntu0.1+esm1
3.4-6ubuntu0.1+esm1
Ubuntu Ubuntu=20.04
All of the following
ubuntu/libmodule-scandeps-perl<1.24-1ubuntu0.1~esm1
1.24-1ubuntu0.1~esm1
Ubuntu Ubuntu=18.04
All of the following
ubuntu/needrestart<3.1-1ubuntu0.1+esm1
3.1-1ubuntu0.1+esm1
Ubuntu Ubuntu=18.04
All of the following
ubuntu/libmodule-scandeps-perl<1.20-1ubuntu0.1~esm1
1.20-1ubuntu0.1~esm1
Ubuntu Ubuntu=16.04
All of the following
ubuntu/needrestart<2.6-1ubuntu0.1~esm1
2.6-1ubuntu0.1~esm1
Ubuntu Ubuntu=16.04

Event History

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

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of USN-7117-1?

The severity of USN-7117-1 is considered critical due to the potential for local attackers to execute arbitrary code as root.

2

How do I fix USN-7117-1?

To fix USN-7117-1, update the affected packages to the recommended versions specified in the advisory.

3

Which software packages are affected by USN-7117-1?

The affected packages include libmodule-scandeps-perl and needrestart on specific Ubuntu versions.

4

What is the risk of not addressing USN-7117-1?

Not addressing USN-7117-1 poses a significant risk as it allows local attackers to execute arbitrary code with root privileges.

5

When was the vulnerability USN-7117-1 discovered?

The vulnerability USN-7117-1 was discovered by Qualys and reported in 2024.

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