GHSA-6cm4-gm85-972c
Dashboard / Vulnerabilities / GHSA-6cm4-gm85-972c
GHSA-6cm4-gm85-972c
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.)
References: https://nvd.nist.gov/vuln/detail/CVE-2021-45082, https://github.com/cobbler/cobbler/pull/2945, https://bugzilla.suse.com/show_bug.cgi?id=1193678, https://github.com/cobbler/cobbler, https://github.com/cobbler/cobbler/releases, https://github.com/cobbler/cobbler/releases/tag/v3.3.1, https://github.com/pypa/advisory-database/tree/main/vulns/cobbler/PYSEC-2022-37.yaml, https://lists.fedoraproject.org/archives/list/[email protected]/message/TEJN7CPW6YCHBFQPFZKGA6AVA6T5NPIW, https://lists.fedoraproject.org/archives/list/[email protected]/message/Z5CSXQE7Q4TVDQJKFYBO4XDH3BZ7BLAR, https://lists.fedoraproject.org/archives/list/[email protected]/message/ZCXMOUW4DH4DYWIJN44SMSU6R3CZDZBE
Affected packages
Package
Name: cobbler
Purl: pkg:pypi/cobbler
Affected ranges
Type: ECOSYSTEM
Events:
