Vulnerability · Published Nov 19, 2024 · Assigned by canonical

CVE-2024-10224

Medium 5.3

In plain English

A medium-severity OS command injection in Module::ScanDeps from Module::ScanDeps. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 9.0% (higher than 95% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)9.0%top 4.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Public PoC

Official description

Qualys discovered that if unsanitized input was used with the library Modules::ScanDeps, before version 1.36 a local attacker could possibly execute arbitrary shell commands by open()ing a "pesky pipe" (such as passing "commands|" as a filename) or by passing arbitrary strings to eval().

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:9perl-Module-ScanDeps1.30-6.el9ALSA-2025:7350
Alpine:v3.21perl-module-scandeps1.37-r0ALPINE-CVE-2024-10224
Alpine:v3.22perl-module-scandeps1.37-r0ALPINE-CVE-2024-10224
Alpine:v3.23perl-module-scandeps1.37-r0ALPINE-CVE-2024-10224
Alpine:v3.24perl-module-scandeps1.37-r0ALPINE-CVE-2024-10224
Debian:12libmodule-scandeps-perl1.31-2+deb12u1DSA-5816-1
Debian:12libmodule-scandeps-perl1.31-2+deb12u1DEBIAN-CVE-2024-10224
Debian:13libmodule-scandeps-perl1.35-2DEBIAN-CVE-2024-10224
Debian:14libmodule-scandeps-perl1.35-2DEBIAN-CVE-2024-10224
Rocky Linux:9perl-Module-ScanDeps0:1.30-6.el9RLSA-2025:7350
Ubuntu:22.04:LTSlibmodule-scandeps-perl1.31-1ubuntu0.1USN-7117-1
Ubuntu:22.04:LTSlibmodule-scandeps-perl1.31-1ubuntu0.1UBUNTU-CVE-2024-10224
Ubuntu:24.04:LTSlibmodule-scandeps-perl1.35-1ubuntu0.24.04.1UBUNTU-CVE-2024-10224
Ubuntu:24.04:LTSlibmodule-scandeps-perl1.35-1ubuntu0.24.04.1USN-7117-1
Ubuntu:22.04:LTSneedrestart3.5-5ubuntu2.2USN-7117-1
Ubuntu:24.04:LTSneedrestart3.6-7ubuntu4.3USN-7117-1

Affected products (as reported)

VendorProductVersions
Module::ScanDeps Module::ScanDeps 0 – before 1.38

Weakness: CWE-78 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

References