CVE-2022-2054
Python vulnerability analysis and mitigation

Overview

Code Injection vulnerability (CVE-2022-2054) was discovered in the GitHub repository nuitka/nuitka affecting versions prior to 0.9. The vulnerability was initially reported and tracked in June 2022, with the CVE being assigned by Protect AI (NVD, CVE).

Technical details

The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (HIGH) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. The issue is classified as CWE-94 (Improper Control of Generation of Code - Code Injection). The vulnerability was initially reported as a Command Injection issue but was later reclassified as a Code Injection vulnerability during the analysis process (NVD).

Impact

The vulnerability could potentially allow an attacker to execute arbitrary code with high impacts on confidentiality, integrity, and availability of the affected system. The CVSS scoring indicates high potential impact across all three security metrics (Confidentiality, Integrity, and Availability) (NVD).

Mitigation and workarounds

The vulnerability has been fixed in version 0.9 of nuitka. Users are advised to upgrade to this version or later to mitigate the risk. A patch was provided through a commit that replaces the use of 'eval' with 'ast.literal_eval' for safer code execution (GitHub Patch).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management