7.8
CWE
77
Advisory Published
Updated

CVE-2021-45082: Command Injection

First published: Sat Feb 19 2022(Updated: )

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.)

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
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

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

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.

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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203