CVE-2024-10224: Libmodule scandeps perl · Several security issues were fixed in needrestart and Module::ScanDeps
Affects libmodule-scandeps-perlSource GCVE Database
Mentioned vulnerabilities
Not known to be exploited · CVSS 5.3 Medium · fixed in 1.20-1ubuntu0.1~esm1 : update libmodule-scandeps-perl when convenient.
Data as of 24 Nov 2026, 17:24 UTC
Thin evidence
One scorer or none| CNA (canonical) | CVSS 3.1 | 5.3 |
|---|
- Patch
- Available – fixed in 1.20-1ubuntu0.1~esm1, 2.6-1ubuntu0.1~esm1, 1.24-1ubuntu0.1~esm1 +7
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 19 Nov 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlibmodule-scandeps-perlpkg:deb/ubuntu/libmodule-scandeps-perl?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSneedrestartpkg:deb/ubuntu/needrestart?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSlibmodule-scandeps-perlpkg:deb/ubuntu/libmodule-scandeps-perl?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSneedrestartpkg:deb/ubuntu/needrestart?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu Pro 20.04 LTSlibmodule-scandeps-perlpkg:deb/ubuntu/libmodule-scandeps-perl?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in
|
Ubuntu Pro 20.04 LTSneedrestartpkg:deb/ubuntu/needrestart?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
Qualys discovered that needrestart passed unsanitized data to a library (libmodule-scandeps-perl) which expects safe input. A local attacker could possibly use this issue to execute arbitrary code as root. (CVE-2024-11003) Qualys discovered that the library libmodule-scandeps-perl incorrectly parsed perl code. This could allow a local attacker to execute arbitrary shell commands. (CVE-2024-10224) Qualys discovered that needrestart incorrectly used the PYTHONPATH environment variable to spawn a new Python interpreter. A local attacker could possibly use this issue to execute arbitrary code as root. (CVE-2024-48990) Qualys discovered that needrestart incorrectly checked the path to the Python interpreter. A local attacker could possibly use this issue to win a race condition and execute arbitrary code as root. (CVE-2024-48991) Qualys discovered that needrestart incorrectly used the RUBYLIB environment variable to spawn a new Ruby interpreter. A local attacker could possibly use this issue to execute arbitrary code as root. (CVE-2024-48992)
References
- ubuntu.com/security/notices/USN-7117-1 (opens in a new tab)
- ubuntu.com/security/CVE-2024-10224 (opens in a new tab)
- ubuntu.com/security/CVE-2024-11003 (opens in a new tab)
- ubuntu.com/security/CVE-2024-48990 (opens in a new tab)
- ubuntu.com/security/CVE-2024-48991 (opens in a new tab)
- ubuntu.com/security/CVE-2024-48992 (opens in a new tab)