Description (CNA)
NLTK versions before 3.10.0 default to ENFORCE=False in pathsec.py, causing all security validation functions to emit warnings instead of raising exceptions. Attackers can bypass path traversal and pickle deserialization protections by exploiting the disabled security controls that are only active when manually enabled.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| nltk / nltk | affected 0 before 3.10.0; unaffected 3.10.0 |
CWE
CWE-1188
References
- https://github.com/nltk/nltk/security/advisories/GHSA-p3m8-78j2-g5p3
- https://www.vulncheck.com/advisories/nltk-before-insecure-default-configuration-pathsec
ADP enrichment
No English description supplied.