diff --git a/advisories/github-reviewed/2024/12/GHSA-rfq8-j7rh-8hf2/GHSA-rfq8-j7rh-8hf2.json b/advisories/github-reviewed/2024/12/GHSA-rfq8-j7rh-8hf2/GHSA-rfq8-j7rh-8hf2.json new file mode 100644 index 00000000000..a50126c2be5 --- /dev/null +++ b/advisories/github-reviewed/2024/12/GHSA-rfq8-j7rh-8hf2/GHSA-rfq8-j7rh-8hf2.json @@ -0,0 +1,69 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-rfq8-j7rh-8hf2", + "modified": "2024-12-03T18:40:39Z", + "published": "2024-12-03T18:40:39Z", + "aliases": [ + "CVE-2024-52805" + ], + "summary": "Synapse allows unsupported content types to lead to memory exhaustion", + "details": "### Impact\n\nIn Synapse before 1.120.1, `multipart/form-data` requests can in certain configurations transiently increase memory consumption beyond expected levels while processing the request, which can be used to amplify denial of service attacks.\n\n### Patches\n\nSynapse 1.120.1 resolves the issue by denying requests with unsupported `multipart/form-data` content type.\n\n### Workarounds\n\nLimiting request sizes or blocking the `multipart/form-data` content type before the requests reach Synapse, for example in a reverse proxy, alleviates the issue. Another approach that mitigates the attack is to use a low `max_upload_size` in Synapse.\n\n### References\n\n- https://github.com/twisted/twisted/issues/4688#issuecomment-1167705518\n- https://github.com/twisted/twisted/issues/4688#issuecomment-2385711609\n\n### For more information\n\nIf you have any questions or comments about this advisory, please email us at [security at element.io](mailto:security@element.io).\n", + "severity": [ + { + "type": "CVSS_V4", + "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X" + } + ], + "affected": [ + { + "package": { + "ecosystem": "PyPI", + "name": "matrix-synapse" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "1.120.1" + } + ] + } + ] + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/element-hq/synapse/security/advisories/GHSA-rfq8-j7rh-8hf2" + }, + { + "type": "ADVISORY", + "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-52805" + }, + { + "type": "WEB", + "url": "https://github.com/twisted/twisted/issues/4688#issuecomment-1167705518" + }, + { + "type": "WEB", + "url": "https://github.com/twisted/twisted/issues/4688#issuecomment-2385711609" + }, + { + "type": "PACKAGE", + "url": "https://github.com/element-hq/synapse" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-770" + ], + "severity": "HIGH", + "github_reviewed": true, + "github_reviewed_at": "2024-12-03T18:40:39Z", + "nvd_published_at": "2024-12-03T17:15:12Z" + } +} \ No newline at end of file