CVE-2022-30284
CRITICAL 9.8CVSS 3.1Argument injection in 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
- Published
- 4 May 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-88
- Also known as
- GHSA-qwqv-j7jr-4hp6PYSEC-2022-42999
- Sources
- NVDJSONOSV GHSA-qwqv-j7jr-4hp6JSONOSV PYSEC-2022-42999JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | cve@mitre.org (Secondary) | CVSS 3.1 | CRITICAL 9.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | python-libnmap_project | python-libnmapcpe:2.3:a:python-libnmap_project:python-libnmap:*:*:*:*:*:python:*:* |
<= 0.7.2 | |
| OSV | PyPI | python-libnmap | < 0.7.3 | 0.7.3 |
References
- https://github.com/savon-noir/python-libnmap/releases · Release Notes, Third Party Advisory, WEB
- https://libnmap.readthedocs.io/en/latest/process.html#using-libnmap-process · Exploit, Third Party Advisory, WEB, EVIDENCE
- https://pypi.org/project/python-libnmap/ · Product, Third Party Advisory, WEB, PACKAGE
- https://www.swascan.com/security-advisory-libnmap-2/ · Exploit, Mitigation, Third Party Advisory, WEB, EVIDENCE, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2022-30284 · ADVISORY
- https://github.com/savon-noir/python-libnmap/commit/c36fecde90017befeb4853396d0e2aac93c95b64 · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/python-libnmap/PYSEC-2022-42999.yaml · WEB
- https://github.com/savon-noir/python-libnmap · PACKAGE
- https://github.com/savon-noir/python-libnmap/releases/tag/v0.7.3 · WEB
- https://github.com/advisories/GHSA-qwqv-j7jr-4hp6 · ADVISORY
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 4 May 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 4 May 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 6 May 2022)