{"id":"UBUNTU-CVE-2021-45082","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.)","modified":"2026-01-30T02:44:44.979249Z","published":"2022-02-19T00:15:00Z","related":["USN-6475-1"],"upstream":["CVE-2021-45082"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-45082"},{"type":"REPORT","url":"https://github.com/cobbler/cobbler/releases"},{"type":"REPORT","url":"https://bugzilla.suse.com/show_bug.cgi?id=1193678"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6475-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-45082"}],"affected":[{"package":{"name":"cobbler","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/cobbler@2.4.1-0ubuntu2+esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.1-0ubuntu2+esm1"}]}],"versions":["2.4.1-0ubuntu2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"cobbler","binary_version":"2.4.1-0ubuntu2+esm1"},{"binary_version":"2.4.1-0ubuntu2+esm1","binary_name":"cobbler-common"},{"binary_name":"cobbler-web","binary_version":"2.4.1-0ubuntu2+esm1"},{"binary_name":"koan","binary_version":"2.4.1-0ubuntu2+esm1"},{"binary_name":"python-cobbler","binary_version":"2.4.1-0ubuntu2+esm1"},{"binary_name":"python-koan","binary_version":"2.4.1-0ubuntu2+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-45082.json"}}],"schema_version":"1.7.3","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":"Ubuntu","score":"low"}]}