{"api_version":"1","generated_at":"2026-07-23T14:36:36+00:00","cve":"CVE-2022-30688","urls":{"html":"https://cve.report/CVE-2022-30688","api":"https://cve.report/api/cve/CVE-2022-30688.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-30688","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-30688"},"summary":{"title":"CVE-2022-30688","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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2022-05-17 19:15:00","updated_at":"2023-08-08 14:22:00"},"problem_types":["NVD-CWE-Other"],"metrics":[],"references":[{"url":"https://lists.debian.org/debian-lts-announce/2022/05/msg00024.html","name":"[debian-lts-announce] 20220518 [SECURITY] [DLA 3013-1] needrestart security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 3013-1] needrestart security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.openwall.com/lists/oss-security/2022/05/17/9","name":"https://www.openwall.com/lists/oss-security/2022/05/17/9","refsource":"MISC","tags":[],"title":"oss-security - CVE-2022-30688: needrestart 0.8+ local privilege escalation","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/liske/needrestart/commit/e6e58136e1e3c92296e2e810cb8372a5fe0dbd30","name":"https://github.com/liske/needrestart/commit/e6e58136e1e3c92296e2e810cb8372a5fe0dbd30","refsource":"MISC","tags":[],"title":"[Interp] CVE-2022-30688: Anchor interpreter regex to prevent local pr… · liske/needrestart@e6e5813 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.debian.org/debian-security-announce/2022/msg00105.html","name":"https://lists.debian.org/debian-security-announce/2022/msg00105.html","refsource":"MISC","tags":[],"title":"[SECURITY] [DSA 5137-1] needrestart security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"http://www.openwall.com/lists/oss-security/2022/05/17/9","name":"[oss-security] 20220517 CVE-2022-30688: needrestart 0.8+ local privilege escalation","refsource":"MLIST","tags":[],"title":"oss-security - CVE-2022-30688: needrestart 0.8+ local privilege escalation","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/liske/needrestart/releases/tag/v3.6","name":"https://github.com/liske/needrestart/releases/tag/v3.6","refsource":"MISC","tags":[],"title":"Release v3.6 · liske/needrestart · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.debian.org/security/2022/dsa-5137","name":"DSA-5137","refsource":"DEBIAN","tags":[],"title":"Debian -- Security Information -- DSA-5137-1 needrestart","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-30688","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30688","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"30688","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"10.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"30688","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"11.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"30688","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"30688","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"needrestart_project","cpe5":"needrestart","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-30688","qid":"179295","title":"Debian Security Update for needrestart (DLA 3013-1)"},{"cve":"CVE-2022-30688","qid":"179297","title":"Debian Security Update for needrestart (DSA 5137-1)"},{"cve":"CVE-2022-30688","qid":"183191","title":"Debian Security Update for needrestart (CVE-2022-30688)"},{"cve":"CVE-2022-30688","qid":"198792","title":"Ubuntu Security Notification for needrestart Vulnerability (USN-5426-1)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2022-30688","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"refsource":"MISC","name":"https://github.com/liske/needrestart/releases/tag/v3.6","url":"https://github.com/liske/needrestart/releases/tag/v3.6"},{"refsource":"MISC","name":"https://github.com/liske/needrestart/commit/e6e58136e1e3c92296e2e810cb8372a5fe0dbd30","url":"https://github.com/liske/needrestart/commit/e6e58136e1e3c92296e2e810cb8372a5fe0dbd30"},{"refsource":"MISC","name":"https://lists.debian.org/debian-security-announce/2022/msg00105.html","url":"https://lists.debian.org/debian-security-announce/2022/msg00105.html"},{"refsource":"MISC","name":"https://www.openwall.com/lists/oss-security/2022/05/17/9","url":"https://www.openwall.com/lists/oss-security/2022/05/17/9"},{"refsource":"MLIST","name":"[oss-security] 20220517 CVE-2022-30688: needrestart 0.8+ local privilege escalation","url":"http://www.openwall.com/lists/oss-security/2022/05/17/9"},{"refsource":"DEBIAN","name":"DSA-5137","url":"https://www.debian.org/security/2022/dsa-5137"},{"refsource":"MLIST","name":"[debian-lts-announce] 20220518 [SECURITY] [DLA 3013-1] needrestart security update","url":"https://lists.debian.org/debian-lts-announce/2022/05/msg00024.html"}]}},"nvd":{"publishedDate":"2022-05-17 19:15:00","lastModifiedDate":"2023-08-08 14:22:00","problem_types":["NVD-CWE-Other"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:P/I:P/A:P","accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":4.6},"severity":"MEDIUM","exploitabilityScore":3.9,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:needrestart_project:needrestart:*:*:*:*:*:*:*:*","versionStartIncluding":"0.8","versionEndExcluding":"3.6","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}