{"id":"CVE-2019-7537","aliases":["EUVD-2019-0046","GHSA-3qr5-h7w4-3gx3","PYSEC-2019-21"],"status":"published","title":"Donfig Command Injection in collect_yaml method","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.","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.03442,"percentile":0.89065,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-77"],"published":"2019-03-21T19:55:42Z","modified":"2026-10-20T10:52:45Z","fixes":[{"ecosystem":"PyPI","package":"donfig","fixed_in":["0.4.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"donfig","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.3.0"},{"fixed":"0.4.0"}]}]},{"source":"osv","ecosystem":"PyPI","package":"donfig","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.0"}]}],"versions":["0.1.0","0.1.1","0.1.2","0.2.0","0.3.0"]},{"source":"osv","ecosystem":"PyPI","package":"donfig","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.0"}]}],"versions":["0.1.0","0.1.1","0.1.2","0.2.0","0.3.0"]}],"products":[{"vendor":"pytroll","product":"donfig"}],"references":[{"url":"https://github.com/pytroll/donfig/issues/5","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://github.com/pytroll/donfig/commits/master","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-7537","tags":["advisory"]},{"url":"https://github.com/pytroll/donfig/commit/1f9dbf83b17419a06d63c14ef3fbd29dbc1b8ce5","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/donfig/PYSEC-2019-21.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-3qr5-h7w4-3gx3","tags":["advisory"]},{"url":"https://github.com/pytroll/donfig","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2019-7537","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.","status":"published","published":"2019-03-21T19:55:42Z","modified":"2024-08-04T20:54:27.927Z","updated_at":"2026-11-02T14:32:22.854093Z"}],"euvd":[{"id":"EUVD-2019-0046","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.","status":"published","published":"2019-03-21T19:55:42Z","modified":"2024-08-04T20:54:27Z","updated_at":"2026-11-03T03:06:45.961014Z"}],"ghsa":[{"id":"GHSA-3qr5-h7w4-3gx3","title":"Donfig Command Injection in collect_yaml method","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.","status":"published","published":"2022-05-14T01:15:39Z","modified":"2024-09-20T16:27:57Z","cvss":[{"version":"4.0","score":9.3,"vector":"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","level":"critical"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T14:38:04.690827Z"}],"nvd":[{"id":"CVE-2019-7537","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.","status":"published","published":"2019-03-21T20:29:01.297Z","modified":"2026-06-17T02:40:40.093Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T14:05:09.523883Z"}],"osv":[{"id":"CVE-2019-7537","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.","status":"published","published":"2019-03-21T20:29:01.297Z","modified":"2026-10-20T10:52:45.983099905Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:12.675558Z"},{"id":"GHSA-3qr5-h7w4-3gx3","title":"Donfig Command Injection in collect_yaml method","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.","status":"published","published":"2022-05-14T01:15:39Z","modified":"2024-09-20T16:35:42.36745Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"},{"version":"4.0","score":9.3,"vector":"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","level":"critical"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T15:46:36.092962Z"},{"id":"PYSEC-2019-21","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.","status":"published","published":"2019-03-21T20:29:00Z","modified":"2026-06-10T17:01:11.970039412Z","updated_at":"2026-11-02T15:52:52.192131Z"}]}}
