CVE-2017-16618 Unsafe deserialization in owlmixin
Attackers can execute arbitrary Python commands by injecting malicious code into YAML files loaded by the OwlMixin library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2017-16618?
CVE-2017-16618 is a critical code injection vulnerability in n/a, published on 8 Nov 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An exploitable vulnerability exists in the YAML loading functionality of util.py in OwlMixin before 2.0.0a12. A "Load YAML" string or file (aka load_yaml or load_yamlf) can execute arbitrary Python commands resulting in command execution because load is used where safe_load should have been used. An attacker can insert Python into loaded YAML to trigger this vulnerability.
Which versions are affected by CVE-2017-16618?
3 open source packages ship an affected version, including owlmixin. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
owlmixin PyPI | All versions | 2.0.0 |
owlmixin PyPI | All versions | 2.0.0 |
owlmixin PyPI | All versions | 2.0.0 |
Products include Owlmixin Project Owlmixin.
How do I fix CVE-2017-16618?
Upgrade owlmixin to 2.0.0 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2017-16618 being exploited?
There is no known exploitation of CVE-2017-16618 in the wild and no public exploit code.
Sources
Also known as GHSA-ccmq-qvcp-5mrm, PYSEC-2017-22.