# CVE-2021-45082

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2022-02-18 · Modified: 2024-08-04
- Aliases: GHSA-6cm4-gm85-972c, PYSEC-2022-37, UBUNTU-CVE-2021-45082, openSUSE-SU-2024:11853-1
- Record: https://cvemate.com/vulnerability/CVE-2021-45082 · JSON: https://cvemate.com/vulnerability/CVE-2021-45082/json

## Description

```text
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.)
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.484%, percentile 43.35%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- cobbler\_project cobbler: \< 3.3.1
- ubuntu cobbler (Ubuntu): \< 2.4.1-0ubuntu2+esm1
- fedoraproject fedora: 34 \| 35 \| 36
- opensuse backports: sle-15:sp3 \| sle-15:sp4
- opensuse factory: na
- PyPI cobbler (PyPI): \< 3.3.1
- opensuse cobbler&distro=openSUSE Tumbleweed (openSUSE): \< 3.3.1.0+git.f5b0599a-1.1
- suse linux\_enterprise\_server: 11:sp3 \| 12 \| 15:sp2 \| 15:sp3

## References

- <https://github.com/cobbler/cobbler/releases>
- <https://bugzilla.suse.com/show_bug.cgi?id=1193678>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z5CSXQE7Q4TVDQJKFYBO4XDH3BZ7BLAR/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TEJN7CPW6YCHBFQPFZKGA6AVA6T5NPIW/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZCXMOUW4DH4DYWIJN44SMSU6R3CZDZBE/>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-45082>
- <https://github.com/cobbler/cobbler/pull/2945>
- <https://github.com/cobbler/cobbler>
- <https://github.com/cobbler/cobbler/releases/tag/v3.3.1>
- <https://github.com/pypa/advisory-database/tree/main/vulns/cobbler/PYSEC-2022-37.yaml>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TEJN7CPW6YCHBFQPFZKGA6AVA6T5NPIW>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Z5CSXQE7Q4TVDQJKFYBO4XDH3BZ7BLAR>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZCXMOUW4DH4DYWIJN44SMSU6R3CZDZBE>
- <https://github.com/advisories/GHSA-6cm4-gm85-972c>
- <https://ubuntu.com/security/CVE-2021-45082>
- <https://ubuntu.com/security/notices/USN-6475-1>
- <https://www.cve.org/CVERecord?id=CVE-2021-45082>
- <https://www.suse.com/security/cve/CVE-2021-45082>

---

Data as of 2026-12-05T02:56:51.982Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
