| Titolo | pytries datrie 0.8.3 Deserialization |
|---|
| Descrizione | 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. |
|---|
| Fonte | ⚠️ https://github.com/dhabaleshwar/Open-Source-Vulnerabilities/blob/main/dartie_code_exec.md |
|---|
| Utente | dhabaleshwar (UID 58737) |
|---|
| Sottomissione | 21/03/2026 18:41 (6 mesi fa) |
|---|
| Moderazione | 06/04/2026 09:35 (16 days later) |
|---|
| Stato | Accettato |
|---|
| Voce VulDB | 355483 [pytries datrie fino a 0.8.3 trie File src/datrie.pyx Trie.load/Trie.read/Trie.__setstate__ escalationi di privilegi] |
|---|
| Punti | 20 |
|---|