CVE-2022-30688

Source
https://cve.org/CVERecord?id=CVE-2022-30688
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-30688.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-30688
Downstream
Published
2022-05-17T19:15:08.743Z
Modified
2026-02-21T10:41:12.950444Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/liske/needrestart

Affected ranges

Type
GIT
Repo
https://github.com/liske/needrestart
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Introduced
Fixed

Affected versions

Other
untagged-8041ea07bb5db92f7693
v0.*
v0.8
v0.9
v1.*
v1.0
v1.1
v1.2
v2.*
v2.0
v2.1
v2.10
v2.11
v2.2
v2.3
v2.4
v2.5
v2.6
v2.7
v2.8
v2.9
v3.*
v3.0
v3.1
v3.2
v3.3
v3.4
v3.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-30688.json"

Git / github.com/wordpress/wordpress-develop

Affected ranges

Type
GIT
Repo
https://github.com/wordpress/wordpress-develop
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-30688.json"