Vulnerability record · CVE-2022-30284 · published 4 May 2022
CVE-2022-30284: Python-libnmap project python-libnmap argument injection vulnerability
PPython Libnmap Project · Python Libnmap
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
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
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/savon-noir/python-libnmap/releases | Release NotesThird Party Advisory |
| https://libnmap.readthedocs.io/en/latest/process.html#using-libnmap-process | ExploitThird Party Advisory |
| https://pypi.org/project/python-libnmap/ | ProductThird Party Advisory |
| https://www.swascan.com/security-advisory-libnmap-2/ | ExploitMitigationThird Party Advisory |
| https://github.com/savon-noir/python-libnmap/releases | Release NotesThird Party Advisory |
| https://libnmap.readthedocs.io/en/latest/process.html#using-libnmap-process | ExploitThird Party Advisory |
| https://pypi.org/project/python-libnmap/ | ProductThird Party Advisory |
| https://www.swascan.com/security-advisory-libnmap-2/ | ExploitMitigationThird Party Advisory |
Track CVE-2022-30284 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2022-30284), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.