Every CVE Search/ Get API key

CVE-2018-20325

Code injection in Danijar Definitions

9.8 Critical

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

3.46%Up 2.7 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 9.8

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.

Record
CVE-2018-20325
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-94
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2018-20325
Updated
2026-11-02
EUVDEUVD-2018-0031 No score

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.

Record
EUVD-2018-0031
Updated
2026-11-03
GitHub AdvisoriesGHSA-v4x4-98cg-wr4g 8.1

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.

Record
GHSA-v4x4-98cg-wr4g
CVSS 4.0
8.1 HighCVSS: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
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-94
Updated
2026-11-02
OSVGHSA-v4x4-98cg-wr4g 8.1

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.

Record
GHSA-v4x4-98cg-wr4g
CVSS 4.0
8.1 HighCVSS: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
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-94
Updated
2026-11-02
OSVPYSEC-2018-82 No score

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.

Record
PYSEC-2018-82
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
definitions
PyPI
through 0.2.0 None known
definitions
PyPI
through 0.2.0, plus listed versions
0.1.00.1.1
None known
definitions
PyPI
All versions, plus listed versions
0.1.00.1.10.2.0
None known

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2018-20325 is a critical vulnerability (CVSS 9.8) in Definitions Project Definitions, published December 21, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.46%, the 89th percentile. No source names a fixed version.

References

MoveEnter Open