Command Injection in Cobbler
An issue was discovered in Cobbler through 3.3.0. 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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | cobbler | < 3.3.1 | 3.3.1 |
References
- https://github.com/cobbler/cobbler/releases
- https://bugzilla.suse.com/show_bug.cgi?id=1193678
- https://github.com/advisories/GHSA-6cm4-gm85-972c
- 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
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-77- Platform
- Python (PyPI)
- Package
cobbler- Disclosed
- 19.02.2022
- Updated
- 11.10.2026 15:17
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2022-37 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-6cm4-gm85-972c - CC BY 4.0
Vulnerability history: cobbler
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 18
- First → latest
- 10.2021 11.2024
- Without a fix
- 2
- Exploited in attacks
- 0
Severity breakdown
- Critical 4
- High 9
- Medium 5
Disclosures per year
- 2021: 3
- 2022: 14
- 2023: 0
- 2024: 1
- 2025: 0
- 2026: 0
-
Command Injection in Cobbler this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.