Advisory

GHSA-hpj3-5p46-g87w

Also known as: CVE-2011-4953, PYSEC-2026-793

Summary

Cobbler vulnerable to code injection via unsafe YAML loading

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-17 04:30 UTC
Modified
2026-07-07 11:56 UTC

Affected packages and fixes

cobbler

PyPI · All systems

Affected

  • introduced 0, fixed 2.6.0 (ecosystem)

Fixed versions

2.6.0

Fix

  • Fixed version 2.6.0
    pip install --upgrade cobbler==2.6.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences