CVE-2021-45082Cobbler Project Cobbler
High 7.8
Follow: this CVE · Cobbler Project · Cobbler Project Cobbler We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 34
- Auth required
- Yes
- Published
- Feb 19, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-77
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.)
What to do
- Apply the vendor's security update for Cobbler.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | cobbler |
< 3.3.1 |
3.3.1 |
pip install "cobbler>=3.3.1" |
| PyPI | cobbler |
< 3.3.1 |
3.3.1 |
pip install "cobbler>=3.3.1" |
Per OSV / GitHub Advisories (GHSA-6cm4-gm85-972c, PYSEC-2022-37). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| cobbler_project | cobbler | < 3.3.1 |
| opensuse | factory | all |
| opensuse | backports | sle-15 |
| opensuse | backports | sle-15 |
| suse | linux_enterprise_server | 11 |
| suse | linux_enterprise_server | 12 |
| suse | linux_enterprise_server | 15 |
| suse | linux_enterprise_server | 15 |
| fedoraproject | fedora | 34 |
| fedoraproject | fedora | 35 |
| fedoraproject | fedora | 36 |
Official sources
References
Links published by the sources. Open them with care.
- bugzilla.suse.com Exploit Issue Tracking Patch
- github.com Release Notes Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org