Arbitrary Code Execution Affecting flex package, versions [,6.12.0)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

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-FLEX-42109
  • published28 May 2018
  • disclosed27 May 2018
  • creditUnknown

Introduced: 27 May 2018

CVE NOT AVAILABLE CWE-94  (opens in a new tab)

How to fix?

Upgrade flex to verson 6.12.0 or higher.

Overview

flex is a Swagger Schema validation tool.

Affected versions of this package are vulnerable to Arbitrary Code Execution attacks. It used the unsafe yaml.load function to load YAML files.

References

CVSS Base Scores

version 3.1