Live threats

All CVEs / Definitions Project

CVE-2018-20325Definitions Project Definitions

Critical 9.8 No auth needed

Priority
74
CVSS 3.0
9.8
EPSS
3.5%
probability of exploitation in 30 days · percentile 90
Auth required
No
Published
Dec 21, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Definitions.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI definitions ≤ 0.2.0 no fixed version —
PyPI definitions all no fixed version —

Per OSV / GitHub Advisories (GHSA-v4x4-98cg-wr4g, PYSEC-2018-82). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
definitions_projectdefinitionsall

Official sources

References

Links published by the sources. Open them with care.