{"id":"CVE-2022-30688","published":"2022-05-17T18:58:09Z","modified":"2025-11-03T21:46:15Z","title":"needrestart 0.8 through 3.5 before 3.6 is prone to local privilege escalation","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00396,"percentile":0.3472,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/liske/needrestart/releases/tag/v3.6","tags":["x_refsource_MISC"]},{"url":"https://github.com/liske/needrestart/commit/e6e58136e1e3c92296e2e810cb8372a5fe0dbd30","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-security-announce/2022/msg00105.html","tags":["x_refsource_MISC"]},{"url":"https://www.openwall.com/lists/oss-security/2022/05/17/9","tags":["x_refsource_MISC"]},{"url":"http://www.openwall.com/lists/oss-security/2022/05/17/9","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://www.debian.org/security/2022/dsa-5137","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/05/msg00024.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://seclists.org/fulldisclosure/2024/Nov/17","tags":[]},{"url":"http://seclists.org/fulldisclosure/2024/Nov/15","tags":[]}],"priority":{"score":6.9,"factors":[{"name":"EPSS percentile","points":6.94}]},"euvd":{"id":"EUVD-2022-52519","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-needrestart-cve-2022-30688","children":[{"from":"CVE-2022-30688","to":"CVE-2024-11003","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["perl/lib/NeedRestart/Interp/Perl.pm"],"commits":["https://github.com/liske/needrestart/commit/e6e58136e1e3c92296e2e810cb8372a5fe0dbd30","https://github.com/liske/needrestart/commit/0f80a348883f72279a859ee655f58da34babefb0"],"basis":"shared function","functions":["isa"]}]},{"from":"CVE-2022-30688","to":"CVE-2024-48990","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["perl/lib/NeedRestart/Interp/Python.pm"],"commits":["https://github.com/liske/needrestart/commit/e6e58136e1e3c92296e2e810cb8372a5fe0dbd30","https://github.com/liske/needrestart/commit/fcc9a4401392231bef4ef5ed026a0d7a275149ab"],"basis":"rarely changed file"}]},{"from":"CVE-2022-30688","to":"CVE-2024-48992","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["perl/lib/NeedRestart/Interp/Ruby.pm"],"commits":["https://github.com/liske/needrestart/commit/e6e58136e1e3c92296e2e810cb8372a5fe0dbd30","https://github.com/liske/needrestart/commit/b5f25f6ec6e7dd0c5be249e4e45de4ee9ffe594f"],"basis":"rarely changed file"}]}]}}