SecurityContext

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

IdName
CWE-88Improper Neutralization of Argument Delimiters in a Command

Public exploits

UrlSourceAdded date
https://libnmap.readthedocs.io/en/latest/process.html#using-libnmap-processnvd2022-05-04
https://www.swascan.com/security-advisory-libnmap-2/nvd2022-05-04

References

Same in every row:

  • Source: nvd
UrlTags
https://libnmap.readthedocs.io/en/latest/process.html#using-libnmap-processExploit, Third Party Advisory
https://www.swascan.com/security-advisory-libnmap-2/Exploit, Mitigation, Third Party Advisory
https://github.com/savon-noir/python-libnmap/releasesRelease Notes, Third Party Advisory
https://pypi.org/project/python-libnmap/Product, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
python-libnmap_project:python-libnmap<= 0.7.2nonvd/v1/products/python-libnmap_project/python-libnmap

Projects

RepositoryLink kindsIndexedUrl
savon-noir/python-libnmapcommit, fix, package, releasesyes/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