HIGH 7.8 PyPI
Command Injection in Cobbler
GHSA-6cm4-gm85-972c · CVE-2021-45082 · PYSEC-2022-37
Published · Modified
Description
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
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2021-45082
- WEB https://github.com/cobbler/cobbler/pull/2945
- WEB https://bugzilla.suse.com/show_bug.cgi?id=1193678
- PACKAGE https://github.com/cobbler/cobbler
- WEB https://github.com/cobbler/cobbler/releases
- WEB https://github.com/cobbler/cobbler/releases/tag/v3.3.1
- WEB https://github.com/pypa/advisory-database/tree/main/vulns/cobbler/PYSEC-2022-37.yaml
- WEB https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TEJN7CPW6YCHBFQPFZKGA6AVA6T5NPIW
- WEB https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Z5CSXQE7Q4TVDQJKFYBO4XDH3BZ7BLAR
- WEB https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZCXMOUW4DH4DYWIJN44SMSU6R3CZDZBE
Ready to move
Start Securing
Free, no credit card | First findings in minutes