Stanza 是斯坦福 NLP 提供的 Python 库,支持多种人类语言的词元化(tokenization)、句子切分、命名实体识别(NER)及句法解析。在 1.14.0 至 1.15.0 版本中,若加载由攻击者提供的词形还原器(lemmatizer)检查点,可能导致任意代码执行。其根本原因在于: 将 以 gzip 压缩的 pickle 字节形式存储,而 方法在解压后直接将该数据流传递给无限制的 函数。虽然外层的 调用了 ,但嵌套的字节数据被视为原始类型,因此未受到该白名单机制的检查。该攻击路径在推理开始前,通过
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.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| stanfordnlp | stanza | = 1.14.0 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POC