Skip to content
OpenAdvisories
High · 7.8 CVE-2021-45082 EUVD-2022-0040GHSA-6cm4-gm85-972cPYSEC-2022-37

Command Injection in Cobbler

Published Feb 18, 2022 · Updated Aug 4, 2024 · Assigned by mitre

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

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS cobbler 2.4.1-0ubuntu2+esm1 USN-6475-1
ReleasePackageFixed inAdvisory
SUSE Manager Server Module 4.2 cobbler 3.1.2-150300.5.14.1 SUSE-SU-2022:0509-1
SUSE Manager Server Module 4.1 cobbler 3.0.0+git20190806.32c4bae0-8.22.9.1 SUSE-SU-2022:0510-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed cobbler 3.3.1.0+git.f5b0599a-1.1 openSUSE-SU-2024:11853-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI cobbler < 3.3.1 3.3.1 GHSA-6cm4-gm85-972c

Advisories 5

References