NLTK 3.10.0 之前的版本存在正则表达式拒绝服务漏洞,涉及 Text.findall() 和 TokenSearcher.findall() 方法。这些方法在接受用户提供的正则表达式时,未进行任何验证或设置超时机制。攻击者可以构造特定的正则表达式模式,引发灾难性回溯(catastrophic backtracking),从而导致 CPU 被无限占用,造成 Python 进程所有用户的服务拒绝(DoS)。
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet