Advisory

PYSEC-2022-37

Also known as: CVE-2021-45082, GHSA-6cm4-gm85-972c

Summary

The record has no summary.

Details

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

Severity

Not rated by the source.

Dates

Published
2022-02-19 00:15 UTC
Modified
2025-10-09 08:23 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: PyPA Advisory Database · CC BY 4.0

Sources & licences