PyPA Advisory Database
PYSEC-2022-37
Details
An issue was discovered in Cobbler before 3.3.1. In the templar.py file, the function check_for_invalid_imports can allow Cheetah code to import Python modules via the "#from MODULE import" substring. (Only lines beginning with #import are blocked.)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | cobbler | All versions before 3.3.1 (fixed in 3.3.1) |