nltk is vulnerable to Improper Link Resolution Before File Access
52
CVE Score
Medium
Improper Link Resolution Before File Access
FramenetCorpusReader and IPIPANCorpusReader open files reached through caller- or corpus-index-supplied names without resolving symbolic links first. A symlink planted inside the corpus directory under a name that contains no path-traversal characters is silently followed, so the reader can open a file located anywhere on the filesystem the process can reach. The fix resolves links before opening corpus files and keeps reads confined to the intended corpus root.
Upgrade the nltk library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and your application uses NLTK's FrameNet or IPI PAN corpus readers on a corpus directory where an untrusted party can place a symbolic link.
2.0.1 - 3.10.1
Fixed in 3.10.2nltk is vulnerable to Improper Link Resolution Before File Access in versions 2.0.1 - 3.10.1.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.