CVE-2021-45082: Command Injection

Published Feb 18, 2022
·
Updated

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

12 affected componentsFixes available
pip/cobbler<3.3.1
3.3.1
Cobbler Project Cobbler<3.3.1
openSUSE Factory
openSUSE Backports=sle-15-sp3
openSUSE Backports=sle-15-sp4
SUSE Linux Enterprise Server=11-sp3
SUSE Linux Enterprise Server=12
SUSE Linux Enterprise Server=15-sp2
SUSE Linux Enterprise Server=15-sp3
Fedoraproject Fedora=34
Fedoraproject Fedora=35
Fedoraproject Fedora=36

Event History

Feb 18, 2022
CVE Published
via MITRE·11:23 PM
Data Sourced
via MITRE·11:23 PM
Description
Feb 20, 2022
Advisory Published
via GitHub·12:00 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2021-45082?

The severity of CVE-2021-45082 is high, with a CVSS score of 7.8.

2

How does CVE-2021-45082 affect Cobbler?

CVE-2021-45082 affects Cobbler versions up to and including 3.3.1.

3

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.

4

Is openSUSE Factory affected by CVE-2021-45082?

Yes, openSUSE Factory is affected by CVE-2021-45082.

5

How can I fix the vulnerability in Cobbler?

To fix the vulnerability, you should upgrade Cobbler to version 3.3.1 or higher.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203