Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

jazzband/sorl-thumbnail
master @ 707f63c
2
Fixes
0
CVEs
HIGH
Peak severity
0.0%
Coverage
Highlights
Denial of Service: 1 prior fix. Scrutinize any change in this area.
sorl/thumbnail/engines/convert_engine.py: most-fixed (1 issue). Treat as high-risk during review.
1 high-severity fix in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Insecure Deserialization: The application previously instantiated arbitrary classes derived directly from the untrusted 'storage' key within serialized data. This allowed malicious payloads to trigger arbitrary code execution during deserialization via unsafe class loading.
Denial of Service: A file descriptor leak existed in the ImageMagick convert engine when handling temporary files. Repeated thumbnail generation requests could exhaust available system file descriptors, ultimately crashing the application server.