GitHub Advisoryadvisory · PyPI

GHSA-3qr5-h7w4-3gx3 Donfig Command Injection in collect_yaml method

CRITICAL Published 2022-05-14 Modified 2024-09-20 Official page ↗
Aliases
CVE-2019-7537
Ecosystem
PyPI
Packages
donfig
Severity
Critical
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-77
Reviewed
2023-07-19

Affected packages

• PyPI donfig: < 0.4.0 → fixed in 0.4.0

Description

An issue was discovered in Donfig 0.3.0. There is a vulnerability in the `collect_yaml` method in `config_obj.py`. It can execute arbitrary Python commands, resulting in command execution.

Related

Alias · CVE (1)

  • CVE-2019-7537 An issue was discovered in Donfig 0.3.0. vulnerability

Weakness · CWE (1)

  • CWE-77 Improper Neutralization of Special Elements used in a Command weakness

References