CVE-2021-45082: Command Injection in Cobbler

CVE-2021-45082 · Severity: low · CVSS 3.1 · Published 2022-02-19

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

Technologies: cobbler (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2021-45082 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2021-45082 being exploited in the wild.
How severe is CVE-2021-45082?
Low severity, with a CVSS score of 3.1, published 19 February 2022.
Which products and versions are affected?
cobbler (PyPI) ECOSYSTEM:introduced=0,fixed=3.3.1.
Is there a fix for CVE-2021-45082?
Yes. cobbler (PyPI): upgrade to 3.3.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2021-45082?
Check whether you run cobbler (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • cobbler (PyPI): upgrade to 3.3.1 or later
    pip install "cobbler>=3.3.1"

Affected products

  • cobbler (PyPI) ECOSYSTEM:introduced=0,fixed=3.3.1

Identifiers

  • CVE-2021-45082
  • GHSA-6cm4-gm85-972c
  • PYSEC-2022-37

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.