All CVEs / Python-libnmap Project
CVE-2022-30284Python-libnmap Project Python-libnmap
Critical 9.8 No auth needed
Follow: this CVE · Python-libnmap Project · Python-libnmap Project Python-libnmap We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 4.3% probability of exploitation in 30 days · percentile 92
- Auth required
- No
- Published
- May 4, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-88
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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
What to do
- Apply the vendor's security update for Python-libnmap.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | python-libnmap |
< 0.7.3 |
0.7.3 |
pip install "python-libnmap>=0.7.3" |
| PyPI | python-libnmap |
< 0.7.3 |
0.7.3 |
pip install "python-libnmap>=0.7.3" |
Per OSV / GitHub Advisories (GHSA-qwqv-j7jr-4hp6, PYSEC-2022-42999). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| python-libnmap_project | python-libnmap | ≤ 0.7.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Release Notes Third Party Advisory
- libnmap.readthedocs.io Exploit Third Party Advisory
- pypi.org Product Third Party Advisory
- www.swascan.com Exploit Mitigation Third Party Advisory