Skip to content

Donfig Command Injection in collect_yaml method

Critical severity GitHub Reviewed Published May 14, 2022 to the GitHub Advisory Database • Updated Sep 1, 2023

Package

pip donfig (pip)

Affected versions

<= 0.3.0

Patched versions

None

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.

References

Published by the National Vulnerability Database Mar 21, 2019
Published to the GitHub Advisory Database May 14, 2022
Reviewed Jul 19, 2023
Last updated Sep 1, 2023

Severity

Critical
9.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2019-7537

GHSA ID

GHSA-3qr5-h7w4-3gx3

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.