Skip to content

Code injection in Danijar Definitions

Critical severity GitHub Reviewed Published Dec 26, 2018 to the GitHub Advisory Database • Updated Sep 5, 2023

Package

pip definitions (pip)

Affected versions

<= 0.2.0

Patched versions

None

Description

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.

References

Published to the GitHub Advisory Database Dec 26, 2018
Reviewed Jun 16, 2020
Last updated Sep 5, 2023

Severity

Critical
9.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2018-20325

GHSA ID

GHSA-v4x4-98cg-wr4g

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.