CVE-2022-30688: High severity needrestart vulnerability

Published May 17, 2022
·
Updated

needrestart 0.8 through 3.5 before 3.6 is prone to local privilege escalation. Regexes to detect the Perl, Python, and Ruby interpreters are not anchored, allowing a local user to escalate privileges when needrestart tries to detect if interpreters are using old source files.

Affected Software

5 affected componentsFixes available
debian/needrestart
3.4-5+deb10u13.5-4+deb11u33.5-4+deb11u13.6-43.6-5
Needrestart Project Needrestart>=0.8<3.6
Debian Debian Linux=9.0
Debian Debian Linux=10.0
Debian Debian Linux=11.0

Event History

May 17, 2022
CVE Published
via MITRE·06:58 PM
Data Sourced
via MITRE·06:58 PM
Description
Data Sourced
via NVD·07:15 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is CVE-2022-30688?

CVE-2022-30688 is a vulnerability in needrestart 0.8 through 3.5 before 3.6 that allows a local user to escalate privileges.

2

How does CVE-2022-30688 affect needrestart?

CVE-2022-30688 affects needrestart versions 0.8 through 3.5 before 3.6 by not anchoring the regexes used to detect the Perl, Python, and Ruby interpreters, allowing local privilege escalation.

3

Which software versions are affected by CVE-2022-30688?

needrestart versions 0.8 through 3.5 before 3.6, as well as Debian Linux versions 9.0, 10.0, and 11.0, are affected by CVE-2022-30688.

4

What is the severity of CVE-2022-30688?

CVE-2022-30688 has a severity score of 7.8, which is considered high.

5

How can I fix CVE-2022-30688?

To fix CVE-2022-30688, it is recommended to update to needrestart version 3.6 or higher.

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