Advisory

GHSA-6cm4-gm85-972c

Also known as: CVE-2021-45082, PYSEC-2022-37

Summary

Command Injection in Cobbler

Details

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-02-20 00:00 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

cobbler

PyPI · All systems

Affected

  • introduced 0, fixed 3.3.1 (ecosystem)

Fixed versions

3.3.1

Fix

  • Fixed version 3.3.1
    pip install --upgrade cobbler==3.3.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences