{"id":"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.)","aliases":["CVE-2021-45082","GHSA-6cm4-gm85-972c"],"modified":"2025-10-09T08:23:54.151503Z","published":"2022-02-19T00:15:00Z","references":[{"type":"WEB","url":"https://github.com/cobbler/cobbler/releases"},{"type":"REPORT","url":"https://bugzilla.suse.com/show_bug.cgi?id=1193678"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-6cm4-gm85-972c"}],"affected":[{"package":{"name":"cobbler","ecosystem":"PyPI","purl":"pkg:pypi/cobbler"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.1"}]}],"versions":["0.6.3-2","3.1.2","3.2.1","3.2.2","3.3.0","3.2.3"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/cobbler/PYSEC-2022-37.yaml"}}],"schema_version":"1.7.3"}