NLTK before 3.10.4 contains a path traversal vulnerability in save_maxent_params() and load_maxent_params() that bypasses the pathsec filesystem…
NLTK before 3.10.4 contains a path traversal vulnerability in save_maxent_params() and load_maxent_params() that bypasses the pathsec filesystem restriction mechanism. Attackers who control the tab_dir argument can read or overwrite model parameter files outside permitted data roots, because the functions call Python's built-in open() directly.
Read at NIST National Vulnerability Database (CVE API 2.0)
- Vendor
- Nltk
- Product
- nltk
- CVSS v3.1
- 4.8 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
- Weakness
- CWE-73
- NVD status
- Awaiting Analysis
Why it ranks 5 (Routine)
- CVSS v3.1 4.8 medium
- Recency: items published within 24 hours gain 15, within 72 hours 6, within 7 days 2.