CVEvulnerability
CVE-2021-45082
7.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2022-02-19
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 4.6 MEDIUM — AV:L/AC:L/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-77
Description
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 configurations
• cobbler project cobbler (< 3.3.1)
• opensuse factory
• opensuse backports sle-15
• suse linux enterprise server 11
• suse linux enterprise server 12
• suse linux enterprise server 15
• fedoraproject fedora 34
• fedoraproject fedora 35
• fedoraproject fedora 36
Related
Weakness · CWE (1)
- CWE-77 Improper Neutralization of Special Elements used in a Command weakness
References
- https://bugzilla.suse.com/show_bug.cgi?id=1193678 Exploit, Issue Tracking, Patch, Third Party Advisory
- https://github.com/cobbler/cobbler/releases Release Notes, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TEJN7CPW6YCHBFQPFZKGA6AVA6T5NPIW/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z5CSXQE7Q4TVDQJKFYBO4XDH3BZ7BLAR/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZCXMOUW4DH4DYWIJN44SMSU6R3CZDZBE/ lists.fedoraproject.org
- https://bugzilla.suse.com/show_bug.cgi?id=1193678 Exploit, Issue Tracking, Patch, Third Party Advisory
- https://github.com/cobbler/cobbler/releases Release Notes, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TEJN7CPW6YCHBFQPFZKGA6AVA6T5NPIW/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z5CSXQE7Q4TVDQJKFYBO4XDH3BZ7BLAR/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZCXMOUW4DH4DYWIJN44SMSU6R3CZDZBE/ lists.fedoraproject.org