CVE-2021-45082

cobbler: incomplete template sanitization

Published Feb 18, 2022 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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.)

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-0040 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.)
Github GHSA Github GHSA GHSA-6cm4-gm85-972c Command Injection in Cobbler
Ubuntu USN Ubuntu USN USN-6475-1 Cobbler vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 4, 2024, 4:32 AM
Reserved
Dec 16, 2021, 12:00 AM
Status
Modified
Published
Feb 19, 2022, 12:15 AM
Modified
Jun 17, 2026, 4:13 AM
Severity
Moderate
Public date
Feb 18, 2022, 12:00 AM