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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | python-libnmap | 0.7.3 | GHSA-qwqv-j7jr-4hp6 |
| PyPI | python-libnmap | 0.7.3 | PYSEC-2022-42999 |
Affected products (as reported)
References
- https://pypi.org/project/python-libnmap/ x_refsource_MISC
- https://www.swascan.com/security-advisory-libnmap-2/ x_refsource_MISC
- https://github.com/savon-noir/python-libnmap/releases x_refsource_MISC
- https://libnmap.readthedocs.io/en/latest/process.html#using-libnmap-process x_refsource_MISC