CVE-2011-4953 Cobbler vulnerable to code injection via unsafe YAML loading

Medium 6.8 Published Updated

Attackers can execute arbitrary code on Cobbler servers by exploiting unsafe YAML deserialization in management parameter settings.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2011-4953?

CVE-2011-4953 is a medium-severity unsafe deserialization vulnerability in n/a, published on 27 Oct 2014. Any signed-in user can exploit it over the network, with no action from the victim.

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

Weakness: CWE-20

Which versions are affected by CVE-2011-4953?

3 open source packages ship an affected version, including cobbler. It affects 1 product.

PackageAffectedFixed in
cobbler PyPIAll versions2.6.0
cobbler PyPIAll versions2.6.0
cobbler PyPIAll versions2.6.0

Products include Cobbler Project Cobbler.

How do I fix CVE-2011-4953?

Upgrade cobbler to 2.6.0 or later.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2011-4953 being exploited?

There is no known exploitation of CVE-2011-4953 in the wild and no public exploit code.

Sources

Also known as GHSA-hpj3-5p46-g87w, PYSEC-2026-793.

Is CVE-2011-4953 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free