Every CVE Search/ Get API key

CVE-2022-30284

Argument injection in python-libnmap

9.0 CriticalFix availableDisputed

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

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

5.57%Up 1.1 points since May 5, 2022
90%50%10%1%

What each source reports

CVE List Score used 9.0

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

Record
CVE-2022-30284
CVSS 3.1
9.0 CriticalCVSS:3.1/AC:H/AV:N/A:H/C:H/I:H/PR:N/S:C/UI:N
Updated
2026-11-02
EUVDEUVD-2022-0220 9.0

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

Record
EUVD-2022-0220
CVSS 3.1
9.0 CriticalCVSS:3.1/AC:H/AV:N/A:H/C:H/I:H/PR:N/S:C/UI:N
Updated
2026-11-03
GitHub AdvisoriesGHSA-qwqv-j7jr-4hp6 9.3

Argument 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).

Record
GHSA-qwqv-j7jr-4hp6
CVSS 4.0
9.3 CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-88
Updated
2026-11-02
NVD 9.0

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

Record
CVE-2022-30284
CVSS 3.1
9.0 CriticalCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-88
Updated
2026-11-02
OSV 9.0

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

Record
CVE-2022-30284
CVSS 3.1
9.0 CriticalCVSS:3.1/AC:H/AV:N/A:H/C:H/I:H/PR:N/S:C/UI:N
Updated
2026-11-02
OSVGHSA-qwqv-j7jr-4hp6 9.3

Argument 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).

Record
GHSA-qwqv-j7jr-4hp6
CVSS 4.0
9.3 CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-88
Updated
2026-11-02
OSVPYSEC-2022-42999 No score

** 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.

Record
PYSEC-2022-42999
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
python-libnmap
PyPI
through 0.7.2
0.7.3
python-libnmap
PyPI
before 0.7.3, plus listed versions
0.2.30.2.40.2.70.2.80.4.0
Show 9 moreShow less
0.4.60.5.00.5.10.60.6.10.6.20.6.30.7.00.7.2
0.7.3

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-30284 is a critical vulnerability (CVSS 9.0) in Python-libnmap Project Python-libnmap, published May 4, 2022. Its validity is disputed. EPSS puts the chance of exploitation in the next 30 days at 5.57%, the 92nd percentile. Fixed in python-libnmap 0.7.3.

References

Show 5 moreShow less
MoveEnter Open