PyPi: Python-Libnmap

CVE-2022-30284

Safety vulnerability ID: 49148

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at May 04, 2022 Updated at May 17, 2024
Scan your Python projects for vulnerabilities →

Advisory

In python-libnmap through 0.7.2, 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.

Affected package

python-libnmap

Latest version: 0.7.3

Python NMAP library enabling you to start async nmap tasks, parse and compare/diff scan results

Affected versions

Fixed versions

Vulnerability changelog

** DISPUTED ** 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. See CVE-2022-30284.


MISC:https://github.com/savon-noir/python-libnmap/releases: https://github.com/savon-noir/python-libnmap/releases
MISC:https://libnmap.readthedocs.io/en/latest/process.html#using-libnmap-process: https://libnmap.readthedocs.io/en/latest/process.html#using-libnmap-process
MISC:https://pypi.org/project/python-libnmap/: https://pypi.org/project/python-libnmap/
MISC:https://www.swascan.com/security-advisory-libnmap-2/: https://www.swascan.com/security-advisory-libnmap-2/

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

CRITICAL 9.8

CVSS v3 Details

CRITICAL 9.8
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
LOW
Privileges Required (PR)
NONE
User Interaction (UI)
NONE
Scope (S)
UNCHANGED
Confidentiality Impact (C)
HIGH
Integrity Impact (I)
HIGH
Availability Availability (A)
HIGH

CVSS v2 Details

HIGH 7.5
Access Vector (AV)
NETWORK
Access Complexity (AC)
LOW
Authentication (Au)
NONE
Confidentiality Impact (C)
PARTIAL
Integrity Impact (I)
PARTIAL
Availability Impact (A)
PARTIAL