Skip to content
OpenAdvisories
Medium CVE-2011-4953 EUVD-2022-4186GHSA-hpj3-5p46-g87wPYSEC-2026-793

Cobbler vulnerable to code injection via unsafe YAML loading

Published Oct 27, 2014 · Updated Aug 7, 2024 · Assigned by redhat

Description

The set_mgmt_parameters function in item.py in cobbler before 2.2.2 allows context-dependent attackers to execute arbitrary code via vectors related to the use of the yaml.load function instead of the yaml.safe_load function, as demonstrated using Puppet.

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
SUSE Package Hub 15 SP2 cobbler 3.1.2-bp152.4.3.1 openSUSE-SU-2021:0058-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed cobbler 3.2.1.336+git.5639a3af-1.1 openSUSE-SU-2024:10690-1
openSUSE Tumbleweed koan 3.0.1-1.2 openSUSE-SU-2024:10897-1
openSUSE Leap 15.2 cobbler 3.1.2-lp152.6.3.1 openSUSE-SU-2021:0046-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI cobbler < 2.6.0 2.6.0 GHSA-hpj3-5p46-g87w

Advisories 4

References