{"id":"GHSA-6cm4-gm85-972c","summary":"Command Injection in Cobbler","details":"An issue was discovered in Cobbler through 3.3.0. 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","PYSEC-2022-37"],"modified":"2026-09-10T03:49:16.868270938Z","published":"2022-02-20T00:00:35Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2022-03-08T18:48:57Z","nvd_published_at":"2022-02-19T00:15:00Z","cwe_ids":["CWE-77"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45082"},{"type":"WEB","url":"https://github.com/cobbler/cobbler/pull/2945"},{"type":"WEB","url":"https://bugzilla.suse.com/show_bug.cgi?id=1193678"},{"type":"PACKAGE","url":"https://github.com/cobbler/cobbler"},{"type":"WEB","url":"https://github.com/cobbler/cobbler/releases"},{"type":"WEB","url":"https://github.com/cobbler/cobbler/releases/tag/v3.3.1"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/cobbler/PYSEC-2022-37.yaml"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TEJN7CPW6YCHBFQPFZKGA6AVA6T5NPIW"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Z5CSXQE7Q4TVDQJKFYBO4XDH3BZ7BLAR"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZCXMOUW4DH4DYWIJN44SMSU6R3CZDZBE"}],"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.2.3","3.3.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-6cm4-gm85-972c/GHSA-6cm4-gm85-972c.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}