chore: Update transformers to fix CVE-2025-3933 (ReDoS)

- Update transformers from >=4.51.0 to >=4.52.1
- Fixes GHSA-37mw-44qp-f5jm
- ReDoS vulnerability in DonutProcessor.token2json() method
This commit is contained in:
TPTBusiness
2026-04-02 22:59:38 +02:00
parent 8c64df87df
commit 3dba0931b4
@@ -23,7 +23,7 @@ pydantic>=2.4.0 # Security fix: CVE-2024-3772 (ReDoS via crafted email)
# Models
torch>=2.6.0 # Security fix: CVE-2025-32434 (torch.load RCE with weights_only=True)
transformers>=4.51.0 # Security fix: CVE-2024-11393 (Deserialization RCE), CVE-2025-3264 (ReDoS), CVE-2025-2099 (ReDoS in preprocess_string)
transformers>=4.52.1 # Security: CVE-2024-11393 (RCE) + CVE-2025-3264/3933/2099 (ReDoS)
huggingface_hub>=0.20.0
# Web services