Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2022-30284

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

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-30284
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 02:07 UTC · Revision 1

Source evidence

CVE-2022-30284

core-osv · Original source

Published 4 May 2022, 21:35 UTC

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

osv:CVE-2022-30284
Complete source record
{
  "id": "f677ba9562f14a70fae1fa5c8e9d4efd6b4b95db724ec8318f2302bcb1cc9299",
  "url": "https://osv.dev/vulnerability/CVE-2022-30284",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2022-30284",
    "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",
    "evidence": "osv:CVE-2022-30284",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2022-30284",
      "aliases": [
        "CVE-2022-30284",
        "GHSA-qwqv-j7jr-4hp6",
        "PYSEC-2022-42999"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AC:H/AV:N/A:H/C:H/I:H/PR:N/S:C/UI:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/savon-noir/python-libnmap",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "d142c00b43fe4972daeb12f4aef639a0ef700ef3"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.7.2"
                      }
                    ],
                    "source": "DESCRIPTION"
                  },
                  {
                    "cpe": "cpe:2.3:a:python-libnmap_project:python-libnmap:*:*:*:*:*:python:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.7.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.7.2",
            "v0.6.3",
            "v0.6.2",
            "v0.6.1",
            "v0.6",
            "0.5.1",
            "v0.4.6",
            "v0.4.5",
            "v0.4.2",
            "v0.4.1",
            "v0.2.8",
            "v0.2.9",
            "v0.2.7",
            "v0.2.6",
            "v0.2.5",
            "v0.2.4",
            "v0.2.3",
            "v0.2.2",
            "v0.2.1",
            "v0.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-30284.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:53.126616594Z",
      "provider": "osv",
      "references": [
        "https://libnmap.readthedocs.io/en/latest/process.html#using-libnmap-process",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/30xxx/CVE-2022-30284.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-30284",
        "https://www.swascan.com/security-advisory-libnmap-2/",
        "https://github.com/savon-noir/python-libnmap/releases",
        "https://pypi.org/project/python-libnmap/"
      ],
      "provider_metadata": {
        "isDisputed": true,
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/30xxx/CVE-2022-30284.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-30284",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 521634,
  "published_at": "2022-05-04T21:35:20+00:00"
}