You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: harden input validation, XML escaping, and streaming safety
- Add XML escaping to all user-controlled values in xml_responses.py
- Add gzip decompression size limit to prevent decompression bombs
- Harden chunked decoder: buffer limits, chunk size validation, error on truncation
- Cache KEK in Settings via PrivateAttr to avoid per-request SHA256
- Wrap range header parsing in try/except for malformed input
- Safe int() parsing for content-length headers across 3 locations
- Add usedforsecurity=False to all MD5 calls for FIPS compliance
- Remove dead code and duplicate imports in upload_part.py
- Fix over-indentation in upload_part SHA256 mismatch block
0 commit comments