pytroll/donfig · Security
Donfig Command Injection in collect_yaml method
- GHSA ID
- GHSA-3qr5-h7w4-3gx3
- CVE ID
- CVE-2019-7537
- Severity
- critical
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v4
- 9.3 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
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.
CWEs
- CWE-77 · Improper Neutralization of Special Elements used in a Command ('Command Injection')
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-7537 ↗
- https://github.com/pytroll/donfig/issues/5 ↗
- https://github.com/pytroll/donfig/commit/1f9dbf83b17419a06d63c14ef3fbd29dbc1b8ce5 ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/donfig/PYSEC-2019-21.yaml ↗
- https://github.com/pytroll/donfig/commits/master ↗
- https://github.com/advisories/GHSA-3qr5-h7w4-3gx3 ↗