Description (CNA)
nltk versions before 3.10.2 contain a symlink-based arbitrary file read vulnerability in IPIPANCorpusReader methods that bypass nltk.pathsec validation entirely. Attackers can place a symlink in the corpus root directory and read arbitrary files accessible to the process by calling channels(), domains(), categories(), or fileids() methods with the symlink filename.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| nltk / nltk | affected 3.10.0 before 3.10.2; unaffected 3.10.2 |
CWE
CWE-22
References
- https://github.com/nltk/nltk/security/advisories/GHSA-3hhw-38pf-pxj6
- https://www.vulncheck.com/advisories/nltk-ipipancorpusreader-symlink-arbitrary-file-read
ADP enrichment
No English description supplied.
No references supplied.