NLTK
NLTK 3.10.0 before 3.10.4 Arbitrary File Read via BllipParser Model Paths
NLTK from 3.10.0 before 3.10.4 contains an arbitrary file read vulnerability in BllipParser that allows attackers to open files outside NLTK data roots by supplying unvalidated model paths. Attackers controlling parser_model, reranker_features, reranker_weights, or from_unified_model_dir() input can make the bllipparser C extension read sensitive files or block on FIFOs and devices.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.0high · scored by CNA · CWE-22
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
nltk nltk
- >= 3.10.0, < 3.10.4
Fixed in 3.10.4
Mitigation
Upgrade nltk to 3.10.4 or later.
References
- Vendor advisory github.com/nltk/nltk/security/advisories/GHSA-…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.