Jakub Wilk discovered that needrestart incorrectly used some regular expressions. A local attacker could possibly use this issue to execute arbitrary code.
{ "availability": "No subscription required", "binaries": [ { "binary_name": "needrestart", "binary_version": "3.1-1ubuntu0.1" } ] }
{ "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" }, { "type": "Ubuntu", "score": "medium" } ] } ], "ecosystem": "Ubuntu:18.04:LTS" }
{ "availability": "No subscription required", "binaries": [ { "binary_name": "needrestart", "binary_version": "3.4-6ubuntu0.1" } ] }
{ "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" }, { "type": "Ubuntu", "score": "medium" } ] } ], "ecosystem": "Ubuntu:20.04:LTS" }
{ "availability": "No subscription required", "binaries": [ { "binary_name": "needrestart", "binary_version": "3.5-5ubuntu2.1" } ] }
{ "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" }, { "type": "Ubuntu", "score": "medium" } ] } ], "ecosystem": "Ubuntu:22.04:LTS" }