CVE-2018-20325
CRITICAL 9.8CVSS 3.0Code injection in Danijar Definitions
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.
- Published
- 21 Dec 2018
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-94
- Also known as
- GHSA-v4x4-98cg-wr4gPYSEC-2018-82
- Sources
- NVDJSONOSV GHSA-v4x4-98cg-wr4gJSONOSV PYSEC-2018-82JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | definitions_project | definitionscpe:2.3:a:definitions_project:definitions:-:*:*:*:*:python:*:* |
(no version) | |
| OSV | PyPI | definitions | <= 0.2.0 | |
| OSV | PyPI | definitions | all versions |
References
- https://github.com/danijar/definitions/issues/14 · Exploit, Third Party Advisory, WEB, REPORT
- https://nvd.nist.gov/vuln/detail/CVE-2018-20325 · ADVISORY
- https://github.com/advisories/GHSA-v4x4-98cg-wr4g · ADVISORY
- https://github.com/danijar/definitions · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/definitions/PYSEC-2018-82.yaml · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 21 Dec 2018)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 21 Dec 2018)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 26 Dec 2018)