GHSA-hpj3-5p46-g87w

Suggest an improvement
Source
https://github.com/advisories/GHSA-hpj3-5p46-g87w
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-hpj3-5p46-g87w/GHSA-hpj3-5p46-g87w.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-hpj3-5p46-g87w
Aliases
Published
2022-05-17T04:30:25Z
Modified
2026-07-07T11:56:28Z
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.

Database specific
{
    "cwe_ids":  [
        "CWE-20",
        "CWE-94"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2024-01-15T20:50:34Z",
    "nvd_published_at":  "2014-10-27T01:55:00Z",
    "severity":  "MODERATE"
}
References

Affected packages

PyPI / cobbler

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.6.0

Affected versions

0.*
0.6.3-2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-hpj3-5p46-g87w/GHSA-hpj3-5p46-g87w.json"