mirror of
https://github.com/element-hq/synapse.git
synced 2026-07-29 14:10:27 +00:00
Fixes: https://github.com/element-hq/synapse/security/advisories/GHSA-6wjm-9p2x-gvpm Fixes: https://github.com/matrix-org/internal-config/issues/1740 Relevant library code to check against: - CPython `EmailMessage.get_content_type()` (https://github.com/python/cpython/blob/v3.13.3/Lib/email/message.py#L608-L630) - Twisted `_parseContentType()` (https://github.com/twisted/twisted/blob/twisted-25.5.0/src/twisted/web/http.py#L306-L313) - Twisted `Request.requestReceived()` (https://github.com/twisted/twisted/blob/twisted-25.5.0/src/twisted/web/http.py#L1079-L1097) ----- Signed-off-by: Olivier 'reivilibre <oliverw@matrix.org> Reviewed-on: https://github.com/element-hq/synapse-private/pull/133