| 标题 | pytries datrie 0.8.3 Deserialization |
|---|
| 描述 | The `datrie.Trie` class uses `pickle.load()` to deserialize internal data when loading trie files via `Trie.load()`, `Trie.read()`, and `Trie.__setstate__()`. A crafted `.trie` file can embed a malicious pickle payload that executes arbitrary Python code when the file is loaded. Users have no indication that loading a `.trie` file involves code execution, as the unsafe deserialization is hidden behind a data-loading API. The `datrie.BaseTrie` class is not affected as it does not use pickle. Any application that loads `.trie` files from untrusted sources (user uploads, shared storage, downloaded datasets) is vulnerable to arbitrary code execution. |
|---|
| 来源 | ⚠️ https://github.com/dhabaleshwar/Open-Source-Vulnerabilities/blob/main/dartie_code_exec.md |
|---|
| 用户 | dhabaleshwar (UID 58737) |
|---|
| 提交 | 2026-03-21 18時41分 (7 月前) |
|---|
| 管理 | 2026-04-06 09時35分 (16 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 355483 [pytries datrie 直到 0.8.3 trie File src/datrie.pyx Trie.load/Trie.read/Trie.__setstate__ 权限提升] |
|---|
| 积分 | 20 |
|---|