CVE-2021-45082: An issue was discovered in Cobbler before 3.3.1
CVE-2021-45082 is a high-severity flaw (CVSS 7.8) affecting cobbler, factory, backports. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.)
Why this priority
- High severity
- Public exploit reference
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.8 (High) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.5% (top 58%) |
| CISA exploited list | No |
| Weakness | CWE-77 |
| Published | 2022-02-19 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-45082?
cobbler: upgrade to 3.3.1; factory: mitigate or apply the listed mitigation; backports: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2021-45082 being exploited?
CVE-2021-45082 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-45082 affect?
CVE-2021-45082 affects cobbler, factory, backports. Severity is high (CVSS 7.8). 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
How urgent is CVE-2021-45082?
Priority 48/100. High severity; Public exploit reference; On your watchlist
Software pages
Related CVEs
- CVE-2022-0860 CRITICAL 9.1 UPGRADE MITIGATE Improper Authorization in GitHub repository cobbler/cobbler prior to 3.3.2.
- CVE-2021-45083 HIGH 7.1 UPGRADE MITIGATE An issue was discovered in Cobbler before 3.3.1
- CVE-2021-45081 MEDIUM 5.9 UPGRADE An issue was discovered in Cobbler through 3.3.1
- CVE-2021-40325 HIGH 7.5 UPGRADE Cobbler before 3.3.0 allows authorization bypass for modification of settings.
- CVE-2021-40324 HIGH 7.5 UPGRADE Cobbler before 3.3.0 allows arbitrary file write operations via upload_log_data.