VDB
Sign up
—

PYSEC-2022-37

Quick fix

PYSEC-2022-37 — cobbler: upgrade to the fixed version with the command below.

pip install --upgrade 'cobbler>=3.3.1'

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

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/cobbler
Introduced in: 0Fixed in: 3.3.1
Fixpip install --upgrade 'cobbler>=3.3.1'

References