CVE-2021-45082
Python vulnerability analysis and mitigation

Overview

An issue was discovered in Cobbler before version 3.3.1. In the templar.py file, the function checkforinvalid_imports can allow Cheetah code to import Python modules via the '#from MODULE import' substring, while only lines beginning with #import are blocked (NVD, CVE).

Technical details

The vulnerability is classified as a Command Injection issue (CWE-77) with a CVSS v3.1 Base Score of 7.8 (HIGH). The attack requires local access with low complexity and low privileges, requiring no user interaction. The vulnerability has the potential to impact confidentiality, integrity, and availability at a high level, with the attack vector being local (NVD).

Impact

The vulnerability allows an attacker to bypass the template sanitization mechanism and potentially execute arbitrary Python code through template imports. This could lead to unauthorized code execution with elevated privileges on the affected system (SUSE Bugzilla).

Mitigation and workarounds

The vulnerability was fixed in Cobbler version 3.3.1. Users are advised to upgrade to this version or later. For Fedora users, security updates were released for Fedora 34 (cobbler-3.2.2-10.fc34), Fedora 35 (cobbler-3.2.2-10.fc35), and Fedora 36 (cobbler-3.3.1-1.fc36) (Fedora Updates).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-67511CRITICAL9.6
  • PythonPython
  • cai-framework
NoNoDec 11, 2025
CVE-2025-13780CRITICAL9.1
  • PythonPython
  • cpe:2.3:a:pgadmin:pgadmin
NoYesDec 11, 2025
CVE-2025-67644HIGH7.3
  • PythonPython
  • langgraph-checkpoint-sqlite
NoYesDec 11, 2025
CVE-2025-67720MEDIUM6.5
  • PythonPython
  • pyrofork
NoYesDec 11, 2025
CVE-2025-67485MEDIUM5.3
  • PythonPython
  • mad-proxy
NoNoDec 10, 2025

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