9.8crit

CVE-2017-16618

Unsafe deserialization in owlmixin

Also known as GHSA-ccmq-qvcp-5mrm, PYSEC-2017-22

Published 8 y ago · modified 4 mo ago · JSON

CVSS
9.8
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
4.5%
percentile 91%
Public exploits
0
none known

Summary

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.

Exploit prediction (EPSS)

4.47% probability of exploitation in the next 30 days, higher than 91% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.09.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD2.07.5AV:N/AC:L/Au:N/C:P/I:P/A:P
GitHub3.09.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

EcosystemPackageAffectedFixed in
pypiowlmixin
<2.0.0
2.0.0

Classification

Weakness
  • CWE-502 Deserialization of Untrusted Data

References

  • github.com /tadashi-aikawa/owlmixin/commit/5d0575303f6df869a515ced4285f24ba721e0d4e · x_refsource_CONFIRM, x_transferred
  • joel-malwarebenchmark.github.io /blog/2017/11/08/cve-2017-16618-convert-through-owlmixin/ · x_refsource_MISC, x_transferred
  • github.com /tadashi-aikawa/owlmixin/issues/12 · x_refsource_CONFIRM, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2017-16618 · advisory
  • github.com /advisories/GHSA-ccmq-qvcp-5mrm · advisory
  • github.com /pypa/advisory-database/tree/main/vulns/owlmixin/PYSEC-2017-22.yaml · web
  • github.com /tadashi-aikawa/owlmixin · package
  • joel-malwarebenchmark.github.io /blog/2017/11/08/cve-2017-16618-convert-through-owlmixin · web

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.