Remote Code Execution Affecting modulemd package, versions [,1.3.2)


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
0.67% (80th 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 Remote Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-MODULEMD-451344
  • published13 Jan 2019
  • disclosed10 Jan 2019
  • creditUnknown

Introduced: 10 Jan 2019

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

How to fix?

Upgrade modulemd to version 1.3.2 or higher.

Overview

modulemd is a python library for manipulation of the proposed module metadata format.

Affected versions of this package are vulnerable to Remote Code Execution. When processing externally provided data, the loads_all function in modulemd/__init__.py uses yaml.load_all instead of yaml.safe_load_all. This can lead to random remote code execution.

References

CVSS Scores

version 3.1