In the python-libnmap package through 0.7.2 for Python, remote command execution can…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-88.
Summary
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
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | python-libnmap (PyPI) | before 0.7.3 | 0.7.3 | Patch available | GHSA-qwqv-j7jr-4hp6 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- python-libnmap (PyPI) Vendor— Affected before 0.7.3 Fixed in 0.7.3 Patch available GHSA-qwqv-j7jr-4hp6
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:python-libnmap_project:python-libnmap:*:*:*:*:*:python:*:* | up to 0.7.2 | Vulnerable | Python-libnmap Project |
- cpe:2.3:a:python-libnmap_project:python-libnmap:*:*:*:*:*:python:*:* Versions up to 0.7.2 Vulnerable ·Python-libnmap Project
Remediation
- Fix · GHSA-qwqv-j7jr-4hp6 python-libnmap (PyPI) Fixed in 0.7.3 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2022-30284
- 2026-10-03 Alias added: GHSA-qwqv-j7jr-4hp6
References
Exploit 2
Advisory 3
Other 6
- https://github.com/savon-noir/python-libnmap/commit/c36fecde90017befeb4853396d0e2aac93c95b64
- https://github.com/pypa/advisory-database/tree/main/vulns/python-libnmap/PYSEC-2022-42999.yaml
- https://github.com/savon-noir/python-libnmap
- https://github.com/savon-noir/python-libnmap/releases/tag/v0.7.3
- https://pypi.org/project/python-libnmap
- https://www.swascan.com/security-advisory-libnmap-2
Sources
- CVE-2022-30284 · CVE Program
- CVE-2022-30284 · NVD
- FIRST EPSS
- GHSA-qwqv-j7jr-4hp6 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences