- -------------------------------------------------------------------------
Debian Security Advisory DSA-5137-1                   security@debian.org
https://www.debian.org/security/                     Salvatore Bonaccorso
May 17, 2022                          https://www.debian.org/security/faq
- -------------------------------------------------------------------------

Package        : needrestart
CVE ID         : CVE-2022-30688

Jakub Wilk discovered a local privilege escalation in needrestart, a
utility to check which daemons need to be restarted after library
upgrades. Regular expressions 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.

For the oldstable distribution (buster), this problem has been fixed
in version 3.4-5+deb10u1.

For the stable distribution (bullseye), this problem has been fixed in
version 3.5-4+deb11u1.

We recommend that you upgrade your needrestart packages.

For the detailed security status of needrestart please refer to its
security tracker page at:
https://security-tracker.debian.org/tracker/needrestart

Further information about Debian Security Advisories, how to apply
these updates to your system and frequently asked questions can be
found at: https://www.debian.org/security/

Mailing list: debian-security-announce@lists.debian.org

Debian: DSA-5137-1: needrestart security update

May 17, 2022
Jakub Wilk discovered a local privilege escalation in needrestart, a utility to check which daemons need to be restarted after library upgrades

Summary

For the oldstable distribution (buster), this problem has been fixed
in version 3.4-5+deb10u1.

For the stable distribution (bullseye), this problem has been fixed in
version 3.5-4+deb11u1.

We recommend that you upgrade your needrestart packages.

For the detailed security status of needrestart please refer to its
security tracker page at:
https://security-tracker.debian.org/tracker/needrestart

Further information about Debian Security Advisories, how to apply
these updates to your system and frequently asked questions can be
found at: https://www.debian.org/security/

Mailing list: debian-security-announce@lists.debian.org

Severity
Jakub Wilk discovered a local privilege escalation in needrestart, a
utility to check which daemons need to be restarted after library
upgrades. Regular expressions 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.

Related News