CVE-2022-30284: python-libnmap - Remote Code Execution
- Cve: CVE-2022-30284
- Name: python-libnmap - Remote Code Execution
- 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
- Impact: Attackers can execute arbitrary commands on the host system, potentially leading to full system compromise.
- Remediation: Update to the latest version of python-libnmap or apply security best practices to validate arguments.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.0557
- Epss percentile: 0.93066
- Assignee: [email protected]
- Published at: 2022-05-04T22:15:11Z
- Age in days: 1665
- Modified at: 2026-06-17T04:43:24Z
- Public exploits total: 2
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-30284
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-88 | Improper Neutralization of Argument Delimiters in a Command |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://libnmap.readthedocs.io/en/latest/process.html#using-libnmap-process | nvd | 2022-05-04 |
| https://www.swascan.com/security-advisory-libnmap-2/ | nvd | 2022-05-04 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://libnmap.readthedocs.io/en/latest/process.html#using-libnmap-process | Exploit, Third Party Advisory |
| https://www.swascan.com/security-advisory-libnmap-2/ | Exploit, Mitigation, Third Party Advisory |
| https://github.com/savon-noir/python-libnmap/releases | Release Notes, Third Party Advisory |
| https://pypi.org/project/python-libnmap/ | Product, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| python-libnmap_project:python-libnmap | <= 0.7.2 | no | nvd | /v1/products/python-libnmap_project/python-libnmap |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| savon-noir/python-libnmap | commit, fix, package, releases | yes | /v1/repositories/savon-noir/python-libnmap |
Index
- Repositories: 1
- Checked, none or zero: repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2022-05-04
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts