Remote Code Execution (RCE) Affecting donfig package, versions [,0.4.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
3.54% (88th 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 (RCE) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-DONFIG-173994
  • published21 Mar 2019
  • disclosed21 Mar 2019
  • creditUnknown

Introduced: 21 Mar 2019

CVE-2019-7537  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade donfig to version 0.4.0 or higher.

Overview

donfig is a Python library for configuring a package including defaults, env variable loading, and yaml loading.

Affected versions of this package are vulnerable to Remote Code Execution (RCE) in the collect_yaml method in config_obj.py. It can execute arbitrary Python commands, resulting in command execution.

CVSS Base Scores

version 3.1