{"id":"GHSA-v4x4-98cg-wr4g","summary":"Code injection in Danijar Definitions","details":"There is a vulnerability in `load()` method in definitions/parser.py in the Danijar Hafner definitions package for Python. It can execute arbitrary python commands resulting in command execution.","aliases":["CVE-2018-20325","PYSEC-2018-82"],"modified":"2025-02-15T05:41:36.516479Z","published":"2018-12-26T17:45:19Z","database_specific":{"cwe_ids":["CWE-94"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2020-06-16T21:56:38Z","nvd_published_at":null},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20325"},{"type":"WEB","url":"https://github.com/danijar/definitions/issues/14"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-v4x4-98cg-wr4g"},{"type":"PACKAGE","url":"https://github.com/danijar/definitions"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/definitions/PYSEC-2018-82.yaml"}],"affected":[{"package":{"name":"definitions","ecosystem":"PyPI","purl":"pkg:pypi/definitions"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.2.0"}]}],"versions":["0.1.0","0.1.1","0.2.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/12/GHSA-v4x4-98cg-wr4g/GHSA-v4x4-98cg-wr4g.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"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/E:U"}]}