{"id":"USN-5426-1","summary":"needrestart vulnerability","details":"Jakub Wilk discovered that needrestart incorrectly used some regular\nexpressions. A local attacker could possibly use this issue to execute\narbitrary code.\n","modified":"2026-04-27T19:16:20.189691Z","published":"2022-05-17T16:24:55Z","related":["UBUNTU-CVE-2022-30688"],"upstream":["CVE-2022-30688","UBUNTU-CVE-2022-30688"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5426-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-30688"}],"affected":[{"package":{"name":"needrestart","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/needrestart@3.1-1ubuntu0.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1-1ubuntu0.1"}]}],"versions":["2.11-4","3.0-1","3.1-1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"needrestart","binary_version":"3.1-1ubuntu0.1"}]},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2022-30688","severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:18.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5426-1.json"}},{"package":{"name":"needrestart","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/needrestart@3.4-6ubuntu0.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4-6ubuntu0.1"}]}],"versions":["3.4-5","3.4-6"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"needrestart","binary_version":"3.4-6ubuntu0.1"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:20.04:LTS","cves":[{"id":"CVE-2022-30688","severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5426-1.json"}},{"package":{"name":"needrestart","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/needrestart@3.5-5ubuntu2.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5-5ubuntu2.1"}]}],"versions":["3.5-4ubuntu2","3.5-5ubuntu1","3.5-5ubuntu2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"3.5-5ubuntu2.1","binary_name":"needrestart"}]},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2022-30688","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:22.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5426-1.json"}}],"schema_version":"1.7.5"}