NLTK versions before 3.10.0 contain a regular expression denial of service vulnerability in Text.findall() and TokenSearcher.findall() methods that accept user-supplied regular expressions without validation or timeout. Attackers can supply crafted regex patterns that cause catastrophic backtracking, resulting in indefinite CPU saturation and denial of service to all users of the Python process.
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.0
Related vulnerabilities
NLTK before 3.10.0 (affected versions <=3.9.4) contains an unsafe pickle deserialization vulnerability in the ...
NLTK versions before 3.10.3 contain a remote code execution vulnerability in allowlisted pickle loaders that t...
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