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.
CPE | Name | Operator | Version |
---|---|---|---|
needrestart | eq | 2.4 | |
needrestart | eq | 0.8 | |
needrestart | eq | 2.11 | |
needrestart | eq | 2.1 | |
needrestart | eq | 3.4 | |
needrestart | eq | 2.2 | |
needrestart | eq | 3.2 | |
needrestart | eq | 3.0 | |
needrestart | eq | 2.8 | |
needrestart | eq | 3.5 |
www.openwall.com/lists/oss-security/2022/05/17/9
github.com/liske/needrestart/commit/e6e58136e1e3c92296e2e810cb8372a5fe0dbd30
github.com/liske/needrestart/releases/tag/v3.6
lists.debian.org/debian-lts-announce/2022/05/msg00024.html
lists.debian.org/debian-security-announce/2022/msg00105.html
www.debian.org/security/2022/dsa-5137
www.openwall.com/lists/oss-security/2022/05/17/9