Skip to main content
VulnerabilityPublished Updated

CVE-2024-10224: Libmodule scandeps perl · Several security issues were fixed in needrestart and Module::ScanDeps

Affects libmodule-scandeps-perlSource GCVE Database

0
Compare

Mentioned vulnerabilities

Authoritative record:CVE-2024-10224· Medium 5.3

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

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (canonical)CVSS 3.15.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:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 19 Nov 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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.

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTSlibmodule-scandeps-perlpkg:deb/ubuntu/libmodule-scandeps-perl?arch=source&distro=nobleOther threatsAffected
  • <1.35-1ubuntu0.24.04.1
Fixed in
  • 1.35-1ubuntu0.24.04.1
Ubuntu 24.04 LTSneedrestartpkg:deb/ubuntu/needrestart?arch=source&distro=nobleOther threatsAffected
  • <3.6-7ubuntu4.3
Fixed in
  • 3.6-7ubuntu4.3
Ubuntu 22.04 LTSlibmodule-scandeps-perlpkg:deb/ubuntu/libmodule-scandeps-perl?arch=source&distro=jammyOther threatsAffected
  • <1.31-1ubuntu0.1
Fixed in
  • 1.31-1ubuntu0.1
Ubuntu 22.04 LTSneedrestartpkg:deb/ubuntu/needrestart?arch=source&distro=jammyOther threatsAffected
  • <3.5-5ubuntu2.2
Fixed in
  • 3.5-5ubuntu2.2
Ubuntu Pro 20.04 LTSlibmodule-scandeps-perlpkg:deb/ubuntu/libmodule-scandeps-perl?arch=source&distro=esm-apps/focalOther threatsAffected
  • <1.27-1ubuntu0.1~esm1
Fixed in
  • 1.27-1ubuntu0.1~esm1
Ubuntu Pro 20.04 LTSneedrestartpkg:deb/ubuntu/needrestart?arch=source&distro=esm-apps/focalOther threatsAffected
  • <3.4-6ubuntu0.1+esm1
Fixed in
  • 3.4-6ubuntu0.1+esm1

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

Community reviews

Loading reviews…