Advisory

GHSA-3qr5-h7w4-3gx3

Also known as: CVE-2019-7537, PYSEC-2019-21

Summary

Donfig Command Injection in collect_yaml method

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-05-14 01:15 UTC
Modified
2024-09-20 16:35 UTC

Affected packages and fixes

donfig

PyPI · All systems

Affected

  • introduced 0, fixed 0.4.0 (ecosystem)

Fixed versions

0.4.0

Fix

  • Fixed version 0.4.0
    pip install --upgrade donfig==0.4.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences