CVE-2021-45082
Command Injection in Cobbler
Reported by mitre · Published February 18, 2022
cobbler is fixed in 3.3.1 (PyPI)
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.)
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| cobbler | PyPI | 3.3.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| PyPI | Cobbler | 0 |
| n/a | n/a | * |
Timeline
- Feb 18, 2022 CVE Published
- Feb 19, 2022 EPSS Score (30 in total, the first dated here)
- Aug 4, 2024 CVE Updated
- Mar 9, 2026 Security Advisory (2 in total, the first dated here)
- Mar 21, 2026 Distribution Patch
- Jul 16, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-45082
vulnetix vdb fixes CVE-2021-45082
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-45082/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- FEDORA-2022-0c6402a6a3 vendor-advisoryx_refsource_FEDORA
- FEDORA-2022-0649006be6 vendor-advisoryx_refsource_FEDORA
- FEDORA-2022-f1510aa454 vendor-advisoryx_refsource_FEDORA
- https://nvd.nist.gov/vuln/detail/CVE-2021-45082 advisory
- https://github.com/cobbler/cobbler/pull/2945 patch
- https://github.com/cobbler/cobbler/releases/tag/v3.3.1 url
- https://github.com/advisories/GHSA-6cm4-gm85-972c advisory