NLTK versions before 3.10.3 use xml.etree.ElementTree to parse XML in multiple modules, which honors entity declarations in document DTDs. Attackers can craft XML payloads with nested entity declarations that expand from hundreds of bytes to megabytes in memory, causing denial of service.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XNltk
APPNltk< 3.10.3
Related vulnerabilities
NLTK versions before 3.10.3 contain a remote code execution vulnerability in allowlisted pickle loaders that t...
NLTK before 3.10.0 (affected versions <=3.9.4) contains an unsafe pickle deserialization vulnerability in the ...
NLTK before 3.10.3 fails to validate JVM options passed through the per-call options parameter in the java() f...
NLTK before 3.9.3 fails to verify file integrity after downloading packages and before extraction in the downl...
RCE w NLTK StanfordSegmenter — ładowanie niezweryfikowanych plików JAR