Arbitrary Code Execution Affecting owlmixin package, versions [,2.0.0a12)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.41% (87th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-OWLMIXIN-40706
  • published28 Nov 2017
  • disclosed6 Nov 2017
  • creditJoel-MalwareBenchmark

Introduced: 6 Nov 2017

CVE-2017-16618  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade owlmixin to version 2.0.0a12 or higher.

Overview

owlmixin is tools for convenient interface creation over various types of data in a declarative way.

Affected versions of the package are vulnerable to Arbitrary Code Execution. 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.

CVSS Scores

version 3.1