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-17T18:58:09Z
Modified
2026-07-15T01:49:18.618573372Z
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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/30xxx/CVE-2022-30688.json",
    "cna_assigner": "mitre"
}
References

Affected packages

Git / github.com/liske/needrestart

Affected ranges

Type
GIT
Repo
https://github.com/liske/needrestart
Events
Database specific
{
    "cpe": "cpe:2.3:a:needrestart_project:needrestart:*:*:*:*:*:*:*:*",
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0.8"
        },
        {
            "fixed": "3.6"
        }
    ]
}

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.2
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"