{"id":"USN-7117-2","summary":"needrestart regression","details":"USN-7117-1 fixed vulnerabilities in needrestart. The update introduced a\nregression in needrestart. This update fixes the problem.\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-11-26T09:29:32Z","related":["UBUNTU-CVE-2024-48991"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7117-2"},{"type":"REPORT","url":"https://launchpad.net/bugs/2089193"}],"affected":[{"package":{"name":"needrestart","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/needrestart@2.6-1ubuntu0.1~esm2?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6-1ubuntu0.1~esm2"}]}],"versions":["2.1-1","2.3-2","2.4-1","2.5-1","2.6-1","2.6-1ubuntu0.1~esm1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"needrestart","binary_version":"2.6-1ubuntu0.1~esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7117-2.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+esm2?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1-1ubuntu0.1+esm2"}]}],"versions":["2.11-4","3.0-1","3.1-1","3.1-1ubuntu0.1","3.1-1ubuntu0.1+esm1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"needrestart","binary_version":"3.1-1ubuntu0.1+esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7117-2.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+esm2?arch=source&distro=esm-apps/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4-6ubuntu0.1+esm2"}]}],"versions":["3.4-5","3.4-6","3.4-6ubuntu0.1","3.4-6ubuntu0.1+esm1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"needrestart","binary_version":"3.4-6ubuntu0.1+esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7117-2.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.3?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5-5ubuntu2.3"}]}],"versions":["3.5-4ubuntu2","3.5-5ubuntu1","3.5-5ubuntu2","3.5-5ubuntu2.1","3.5-5ubuntu2.2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"needrestart","binary_version":"3.5-5ubuntu2.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7117-2.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.4?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6-7ubuntu4.4"}]}],"versions":["3.6-5","3.6-6","3.6-7","3.6-7ubuntu3","3.6-7ubuntu4","3.6-7ubuntu4.1","3.6-7ubuntu4.3"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"needrestart","binary_version":"3.6-7ubuntu4.4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7117-2.json","cves_map":{"ecosystem":"Ubuntu:24.04:LTS","cves":[]}}}],"schema_version":"1.7.3"}