GitHub Advisoryadvisory · PyPI
GHSA-3qr5-h7w4-3gx3 Donfig Command Injection in collect_yaml method
CRITICAL
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
- https://nvd.nist.gov/vuln/detail/CVE-2019-7537 advisory
- https://github.com/pytroll/donfig/issues/5 web
- https://github.com/pytroll/donfig/commit/1f9dbf83b17419a06d63c14ef3fbd29dbc1b8ce5 web
- https://github.com/pypa/advisory-database/tree/main/vulns/donfig/PYSEC-2019-21.yaml web
- https://github.com/pytroll/donfig package
- https://github.com/pytroll/donfig/commits/master web