CVE-2018-20325: Danijar Hafner Definitions - Command Injection
- Cve: CVE-2018-20325
- Name: Danijar Hafner Definitions - Command Injection
- 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.
- Impact: Attackers can execute arbitrary Python commands, potentially leading to remote code execution and full system compromise.
- Remediation: Sanitize inputs and avoid using unsafe execution functions; update to the latest version if available.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.0346
- Epss percentile: 0.89339
- Assignee: [email protected]
- Published at: 2018-12-21T23:29:00Z
- Age in days: 2895
- Modified at: 2026-06-17T01:52:37Z
- Public exploits total: 1
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-20325
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-94 | Improper Control of Generation of Code |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/danijar/definitions/issues/14 | nvd | 2018-12-21 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/danijar/definitions/issues/14 | nvd | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| definitions_project:definitions | all versions | no | nvd | /v1/products/definitions_project/definitions |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| danijar/definitions | issues, package | yes | /v1/repositories/danijar/definitions |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2018-12-21
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts