cve/2022/CVE-2022-30688.md

18 lines
753 B
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2022-30688](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-30688)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### Description
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.
### POC
#### Reference
- https://github.com/liske/needrestart/releases/tag/v3.6
#### Github
No PoCs found on GitHub currently.