{"id":"USN-7117-3","summary":"needrestart regression","details":"USN-7117-1 fixed vulnerabilities in needrestart. The update introduced a\nregression in needrestart. This update fixes the problem for LXC\ncontainers.\n\nWe apologize for the inconvenience.\n\nOriginal advisory details:\n\n Qualys discovered that needrestart passed unsanitized data to a library \n (libmodule-scandeps-perl) which expects safe input. A local attacker could\n possibly use this issue to execute arbitrary code as root.\n (CVE-2024-11003)\n \n Qualys discovered that the library libmodule-scandeps-perl incorrectly \n parsed perl code. This could allow a local attacker to execute arbitrary\n shell commands. (CVE-2024-10224)\n \n Qualys discovered that needrestart incorrectly used the PYTHONPATH \n environment variable to spawn a new Python interpreter. A local attacker \n could possibly use this issue to execute arbitrary code as root. \n (CVE-2024-48990)\n \n Qualys discovered that needrestart incorrectly checked the path to the\n Python interpreter. A local attacker could possibly use this issue to win\n a race condition and execute arbitrary code as root. (CVE-2024-48991)\n \n Qualys discovered that needrestart incorrectly used the RUBYLIB\n environment variable to spawn a new Ruby interpreter. A local attacker\n could possibly use this issue to execute arbitrary code as root.\n (CVE-2024-48992)\n","modified":"2026-02-10T04:45:55Z","published":"2024-12-05T16:53:22Z","references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7117-3"},{"type":"REPORT","url":"https://launchpad.net/bugs/2091096"}],"affected":[{"package":{"name":"needrestart","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/needrestart@2.6-1ubuntu0.1~esm3?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6-1ubuntu0.1~esm3"}]}],"versions":["2.1-1","2.3-2","2.4-1","2.5-1","2.6-1","2.6-1ubuntu0.1~esm1","2.6-1ubuntu0.1~esm2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.6-1ubuntu0.1~esm3","binary_name":"needrestart"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7117-3.json","cves_map":{"ecosystem":"Ubuntu:Pro:16.04:LTS","cves":[]}}},{"package":{"name":"needrestart","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/needrestart@3.1-1ubuntu0.1+esm3?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1-1ubuntu0.1+esm3"}]}],"versions":["2.11-4","3.0-1","3.1-1","3.1-1ubuntu0.1","3.1-1ubuntu0.1+esm1","3.1-1ubuntu0.1+esm2"],"ecosystem_specific":{"binaries":[{"binary_version":"3.1-1ubuntu0.1+esm3","binary_name":"needrestart"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7117-3.json","cves_map":{"ecosystem":"Ubuntu:Pro:18.04:LTS","cves":[]}}},{"package":{"name":"needrestart","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/needrestart@3.4-6ubuntu0.1+esm3?arch=source&distro=esm-apps/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4-6ubuntu0.1+esm3"}]}],"versions":["3.4-5","3.4-6","3.4-6ubuntu0.1","3.4-6ubuntu0.1+esm1","3.4-6ubuntu0.1+esm2"],"ecosystem_specific":{"binaries":[{"binary_version":"3.4-6ubuntu0.1+esm3","binary_name":"needrestart"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7117-3.json","cves_map":{"ecosystem":"Ubuntu:Pro:20.04:LTS","cves":[]}}},{"package":{"name":"needrestart","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/needrestart@3.5-5ubuntu2.4?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5-5ubuntu2.4"}]}],"versions":["3.5-4ubuntu2","3.5-5ubuntu1","3.5-5ubuntu2","3.5-5ubuntu2.1","3.5-5ubuntu2.2","3.5-5ubuntu2.3"],"ecosystem_specific":{"binaries":[{"binary_version":"3.5-5ubuntu2.4","binary_name":"needrestart"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7117-3.json","cves_map":{"ecosystem":"Ubuntu:22.04:LTS","cves":[]}}},{"package":{"name":"needrestart","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/needrestart@3.6-7ubuntu4.5?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6-7ubuntu4.5"}]}],"versions":["3.6-5","3.6-6","3.6-7","3.6-7ubuntu3","3.6-7ubuntu4","3.6-7ubuntu4.1","3.6-7ubuntu4.3","3.6-7ubuntu4.4"],"ecosystem_specific":{"binaries":[{"binary_version":"3.6-7ubuntu4.5","binary_name":"needrestart"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7117-3.json","cves_map":{"ecosystem":"Ubuntu:24.04:LTS","cves":[]}}}],"schema_version":"1.7.3"}