CVE-2019-7537 json
Donfig Command Injection in collect_yaml method
published 2019-03-21 7 y ago modified 2026-06-17 4 mo ago also GHSA-3qr5-h7w4-3gx3 , PYSEC-2019-21 , EUVD-2019-0046
- cvss
- 9.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.4%
- EPSS 3.4% chance of exploitation in 30 days, percentile 89%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
Exploit prediction
3.44% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/pytroll/donfig/issues/5 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | donfig | <0.4.0 |
0.4.0 |
Classification
- Weakness
-
- CWE-77 Improper Neutralization of Special Elements used in a Command
References
-
github.com
/pytroll/donfig/commit/1f9dbf83b17419a06d63c14ef3fbd29dbc1b8ce5
web
-
github.com
/pytroll/donfig/issues/5
web, exploit, issue-tracking, third-party-advisory, report
-
github.com
/pytroll/donfig/commits/master
web, release-notes, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2019-7537
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/donfig/PYSEC-2019-21.yaml
web
-
github.com
/pytroll/donfig
package
-
github.com
/advisories/GHSA-3qr5-h7w4-3gx3
advisory
Sources
- CVE List CVE-2019-7537
- GitHub Advisory GHSA-3qr5-h7w4-3gx3
- NVD CVE-2019-7537
- OSV PYSEC-2019-21
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.