{"id":"UBUNTU-CVE-2024-11003","details":"Qualys discovered that needrestart, before version 3.8, passes unsanitized data to a library (Modules::ScanDeps) which expects safe input. This could allow a local attacker to execute arbitrary shell commands. Please see the related CVE-2024-10224 in Modules::ScanDeps.","modified":"2026-01-30T01:25:11.026987Z","published":"2024-11-19T16:00:00Z","related":["USN-7117-1"],"upstream":["CVE-2024-11003"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-11003"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-11003"},{"type":"REPORT","url":"https://www.qualys.com/2024/11/19/needrestart/needrestart.txt"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-10224"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7117-1"}],"affected":[{"package":{"name":"needrestart","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/needrestart@2.6-1ubuntu0.1~esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6-1ubuntu0.1~esm1"}]}],"versions":["2.1-1","2.3-2","2.4-1","2.5-1","2.6-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"needrestart","binary_version":"2.6-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-11003.json"}},{"package":{"name":"needrestart","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/needrestart@3.1-1ubuntu0.1+esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1-1ubuntu0.1+esm1"}]}],"versions":["2.11-4","3.0-1","3.1-1","3.1-1ubuntu0.1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"needrestart","binary_version":"3.1-1ubuntu0.1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-11003.json"}},{"package":{"name":"needrestart","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/needrestart@3.4-6ubuntu0.1+esm1?arch=source&distro=esm-apps/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4-6ubuntu0.1+esm1"}]}],"versions":["3.4-5","3.4-6","3.4-6ubuntu0.1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"needrestart","binary_version":"3.4-6ubuntu0.1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-11003.json"}},{"package":{"name":"needrestart","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/needrestart@3.5-5ubuntu2.2?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5-5ubuntu2.2"}]}],"versions":["3.5-4ubuntu2","3.5-5ubuntu1","3.5-5ubuntu2","3.5-5ubuntu2.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"needrestart","binary_version":"3.5-5ubuntu2.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-11003.json"}},{"package":{"name":"needrestart","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/needrestart@3.6-7ubuntu4.3?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6-7ubuntu4.3"}]}],"versions":["3.6-5","3.6-6","3.6-7","3.6-7ubuntu3","3.6-7ubuntu4","3.6-7ubuntu4.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"needrestart","binary_version":"3.6-7ubuntu4.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-11003.json"}}],"schema_version":"1.7.3","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"}]}