Medium

Cobbler vulnerable to code injection via unsafe YAML loading

  • Disclosed: 17.05.2022
  • Updated: 11.10.2026 13:18

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.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) cobbler < 2.6.0 2.6.0

References

CVSS score -
Weakness (CWE)
CWE-20, CWE-94
Platform
Python (PyPI)
Package
cobbler
Disclosed
17.05.2022
Updated
11.10.2026 13:18

Sources and licenses

OSV / GitHub Advisory Database - PYSEC-2026-793 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - GHSA-hpj3-5p46-g87w - CC BY 4.0

Vulnerability history: cobbler

All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (18) in the archive
Total entries
18
First → latest
10.2021 11.2024
Without a fix
2
Exploited in attacks
0

Severity breakdown

  • Critical 4
  • High 9
  • Medium 5

Disclosures per year

  1. 2021: 3
  2. 2022: 14
  3. 2023: 0
  4. 2024: 1
  5. 2025: 0
  6. 2026: 0
Severity:
  1. Critical · 9.8 CVE-2024-47533 >= 3.0.0, < 3.2.3, >= 3.3.0, < 3.3.7 3.2.3, 3.3.7
  2. High CVE-2010-2235 < 2.0.7 2.0.7
  3. High CVE-2012-2395 < 2.6.0 2.6.0
  4. Cobbler vulnerable to code injection via unsafe YAML loading this entry
    Medium CVE-2011-4953 < 2.6.0 2.6.0
  5. Critical · 9.8 CVE-2017-1000469 < 3.0.0 3.0.0
  6. Critical · 9.8 CVE-2018-10931 >= 2.6.0, < 3.0.0 3.0.0
  7. Critical · 9.8 CVE-2018-1000226 < 3.0.0 3.0.0
  8. High · 8.8 CVE-2011-4952 < 2.6.0 2.6.0
  9. High · 7.1 CVE-2021-45083 < 3.3.1 3.3.1
  10. High · 7.8 CVE-2021-45082 < 3.3.1 3.3.1
  11. High · 9.8 CVE-2021-40323 < 3.3.0 3.3.0

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.