CVE-2021-45082: Command Injection
An issue was discovered in Cobbler before 3.3.1. In the templar.py file, the function checkforinvalidimports can allow Cheetah code to import Python modules via the "#from MODULE import" substring. (Only lines beginning with #import are blocked.)
Other sources
An issue was discovered in Cobbler through 3.3.0. In the templar.py file, the function checkforinvalidimports can allow Cheetah code to import Python modules via the "#from MODULE import" substring. (Only lines beginning with #import are blocked.)
— GitHub
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2021-45082?
The severity of CVE-2021-45082 is high, with a CVSS score of 7.8.
How does CVE-2021-45082 affect Cobbler?
CVE-2021-45082 affects Cobbler versions up to and including 3.3.1.
How can the vulnerability be exploited?
The vulnerability allows Cheetah code to import Python modules via the "#from MODULE import" substring in the templar.py file of Cobbler.
Is openSUSE Factory affected by CVE-2021-45082?
Yes, openSUSE Factory is affected by CVE-2021-45082.
How can I fix the vulnerability in Cobbler?
To fix the vulnerability, you should upgrade Cobbler to version 3.3.1 or higher.