CVE-2022-2054: Command Injection in Nuitka
7.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.33364%
CWE
Published
6/13/2022
Updated
9/26/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| Nuitka | pip | <= 0.8.4 | 0.9 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from multiple instances where eval() was used to process untrusted input (environment variables, file contents, XML data). The GitHub patch shows systematic replacement of eval() with ast.literal_eval(), which safely evaluates literal structures instead of executing arbitrary code. Each identified function directly used eval() on external inputs that could be controlled by an attacker, making them clear injection points. The high confidence comes from: 1) Official patch directly addressing these functions 2) CWE-77/94 alignment with eval() misuse patterns 3) Environment variables and external data being common attack vectors for injection.