7.8high
Command Injection in Cobbler
- Severity
- 7.8high CVSS:3.1 by NVD
- Exploit likelihood
- 0.48% (higher than 43% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-6cm4-gm85-972cPYSEC-2022-37
Description
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.)
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| cobbler (PyPI) | before 3.3.1 | GitHub Advisory Database, PyPA Advisory Database |
| cobbler_project cobbler | before 3.3.1 | NVD |
| opensuse factory | Not specified | NVD |
| opensuse backports | sle-15 | NVD |
| suse linux_enterprise_server | 11, 12, 15 | NVD |
| fedoraproject fedora | 34, 35, 36 | NVD |
All scores
| GitHub | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 4.6medium CVSS:2.0 | AV:L/AC:L/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
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.)
GitHub Advisory Database
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.)
NVD (es)
Se ha detectado un problema en Cobbler versiones hasta 3.3.0. En el archivo templar.py, la función check_for_invalid_imports puede permitir que el código Cheetah importe módulos de Python por medio de la subcadena "#from MODULE import". (Sólo son bloqueadas las líneas que comienzan con #import)
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-45082 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-6cm4-gm85-972c changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2021-45082 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2022-37 changed 2025-10-09 | CC-BY-4.0 |