Security mailing lists by PureSourceCode

CVE-2018-20325

CRITICAL 9.8CVSS 3.0

Code 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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD definitions_project definitions
cpe:2.3:a:definitions_project:definitions:-:*:*:*:*:python:*:*
(no version)
OSV PyPI definitions <= 0.2.0
OSV PyPI definitions all versions

References

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.