Description
kafe2 through 2.11.0 contains an unsafe deserialization vulnerability in YamlReaderMixin that allows attackers to execute Python code by supplying crafted YAML fit or data files. Attackers can embed python/object/apply tags parsed by yaml.load() via kafe2go or from_file() to run code with the victim's privileges.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
PhiLFitters kafe2
Default version status: unaffected
0 to ≤ 2.11.0affected
pkg:pypi/kafe2References
- https://github.com/PhiLFitters/kafe2/issues/264 ↗
- https://github.com/PhiLFitters/kafe2/commit/3f63e79407dac85c562cf8d1b5a3a6ff8c5be053 ↗
- https://github.com/PhiLFitters/kafe2/blob/v2.11.0/kafe2/fit/representation/_yaml_base.py#L41 ↗
- https://www.vulncheck.com/advisories/kafe2-through-2.11.0-code-execution-via-unsafe-yaml-loading ↗