Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. definitions
  4. ›
  5. CVE-2018-20325

CVE-2018-20325: Code injection in Danijar Definitions

December 26, 2018 (updated September 13, 2024)

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

  • github.com/advisories/GHSA-v4x4-98cg-wr4g
  • github.com/danijar/definitions
  • github.com/danijar/definitions/issues/14
  • github.com/pypa/advisory-database/tree/main/vulns/definitions/PYSEC-2018-82.yaml
  • nvd.nist.gov/vuln/detail/CVE-2018-20325

Code Behaviors & Features

Detect and mitigate CVE-2018-20325 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.2.0

Solution

Unfortunately, there is no solution available yet.

Impact 9.8 CRITICAL

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

pypi/definitions/CVE-2018-20325.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:47 +0000.