Cohere Python SDK 5.11.0 至 7.2.0 版本中存在一个路径遍历(tar slip)漏洞,位于 _s3_models_dir_to_tarfile 函数中,该漏洞允许通过未经验证的 tarfile.extractall 调用进行任意文件写入。攻击者若能够将模型归档文件写入受害者的 S3 前缀,便可以在归档中包含绝对路径或包含 ../ 的条目,从而覆盖 SDK 主机上的文件。
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| cohere-ai | cohere-python | 5.11.0≤ 7.2.0 |
affected |
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 |
|---|---|---|---|---|
| cohere-ai | cohere-python | 5.11.0 ~ 7.2.0 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet