Skip to content

CVE-2021-45082 Command Injection in Cobbler

HighCVSS 7.8 EPSS 0.50%
Published
Updated
Exploit status
No public exploit known
Technology
Ubuntu

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

Upgrade path

7 packages: 3 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
openSUSE Factory All versions No fix listed No fix yet
cobbler project cobbler < 3.3.1 3.3.1 Fixed
pypi cobbler(PyPI) < 3.3.1; = 0.6.3-2; = 3.1.2; = 3.2.1 +3 more 3.3.1 Fixed
ubuntu Cobbler(Ubuntu Pro 16.04) < 2.4.1-0ubuntu2+esm1; = 2.4.1-0ubuntu2 2.4.1-0ubuntu2+esm1 Fixed
fedoraproject fedora = 34; = 35; = 36 No fix listed Versions listed
openSUSE backports = sle-15-sp3; = sle-15-sp4 No fix listed Versions listed
SUSE linux enterprise server = 11-sp3; = 12; = 15-sp2; = 15-sp3 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi cobbler(PyPI) < 3.3.1 3.3.1
pypi cobbler(PyPI) = 0.6.3-2 No fix listed
pypi cobbler(PyPI) = 3.1.2 No fix listed
pypi cobbler(PyPI) = 3.2.1 No fix listed
pypi cobbler(PyPI) = 3.2.2 No fix listed
pypi cobbler(PyPI) = 3.2.3 No fix listed
pypi cobbler(PyPI) = 3.3.0 No fix listed
cobbler project cobbler < 3.3.1 3.3.1
openSUSE Factory All versions No fix listed
openSUSE backports = sle-15-sp3 No fix listed
openSUSE backports = sle-15-sp4 No fix listed
SUSE linux enterprise server = 11-sp3 No fix listed
SUSE linux enterprise server = 12 No fix listed
SUSE linux enterprise server = 15-sp2 No fix listed
SUSE linux enterprise server = 15-sp3 No fix listed
fedoraproject fedora = 34 No fix listed
fedoraproject fedora = 35 No fix listed
fedoraproject fedora = 36 No fix listed
ubuntu Cobbler(Ubuntu:Pro:16.04) < 2.4.1-0ubuntu2+esm1 2.4.1-0ubuntu2+esm1
ubuntu Cobbler(Ubuntu:Pro:16.04) = 2.4.1-0ubuntu2 No fix listed

References