Arbitrary Command Injection Affecting nuitka package, versions [0,0.9)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.04% (6th 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 Arbitrary Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-NUITKA-2869126
  • published13 Jun 2022
  • disclosed13 Jun 2022
  • creditwhokilleddb

Introduced: 13 Jun 2022

CVE-2022-2054  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

Upgrade Nuitka to version 0.9 or higher.

Overview

Nuitka is a Python compiler with full language support and CPython compatibility

Affected versions of this package are vulnerable to Arbitrary Command Injection due to insecure usage of the eval() method in the main() function. Exploiting this vulnerability is possible by replacing one of these environment variables - NUITKA_PYTHONPATH, NUITKA_NAMESPACES or NUITKA_PTH_IMPORTED to a malicious payload string.

CVSS Scores

version 3.1