Vulnerability · Published May 4, 2022 · Assigned by mitre

CVE-2022-30284

Critical 9.0

In plain English

A critical-severity security flaw in the python-libnmap package (PyPI). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 5.5% (higher than 93% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.0Critical
Exploit odds (30 days)5.5%top 7.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

In the python-libnmap package through 0.7.2 for Python, remote command execution can occur (if used in a client application that does not validate arguments). NOTE: the vendor believes it would be unrealistic for an application to call NmapProcess with arguments taken from input data that arrived over an untrusted network, and thus the CVSS score corresponds to an unrealistic use case. None of the NmapProcess documentation implies that this is an expected use case

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIpython-libnmap0.7.3GHSA-qwqv-j7jr-4hp6
PyPIpython-libnmap0.7.3PYSEC-2022-42999

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References