Remote Code Execution (RCE) Affecting python-libnmap package, versions [,0.7.3)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
33.32% (97th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Remote Code Execution (RCE) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-PYTHONLIBNMAP-2808864
  • published6 May 2022
  • disclosed6 May 2022
  • creditSwascan Offensive Security Team

Introduced: 6 May 2022

CVE-2022-30284  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade python-libnmap to version 0.7.3 or higher.

Overview

python-libnmap is a Python NMAP library that enabling you to start async nmap tasks, parse and compare/diff scan results.

Affected versions of this package are vulnerable to Remote Code Execution (RCE) when the client application fails to validate the user input in the final nmap command line being executed on the underlying Opearting System. This can lead to the upload and execution of a custom LUA script using the Nmap Scripting Language (NSE).

CVSS Base Scores

version 3.1