{"id":"CVE-2023-32683","published":"2023-06-06T18:24:30Z","modified":"2025-02-13T16:54:58Z","title":"URL deny list bypass via oEmbed and image URLs when generating previews in Synapse","vendor":"matrix-org","product":"synapse","tier":"tail","description":{"text":"Synapse is a Matrix protocol homeserver written in Python with the Twisted framework. A discovered oEmbed or image URL can bypass the `url_preview_url_blacklist` setting potentially allowing server side request forgery or bypassing network policies. Impact is limited to IP addresses allowed by the `url_preview_ip_range_blacklist` setting (by default this only allows public IPs) and by the limited information returned to the client: 1. For discovered oEmbed URLs, any non-JSON response or a JSON response which includes non-oEmbed information is discarded. 2. For discovered image URLs, any non-image response is discarded. Systems which have URL preview disabled (via the `url_preview_enabled` setting) or have not configured a `url_preview_url_blacklist` are not affected. This issue has been addressed in version 1.85.0. Users are advised to upgrade. User unable to upgrade may also disable URL previews.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.5,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00605,"percentile":0.49899,"provenance":"source"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://github.com/matrix-org/synapse/security/advisories/GHSA-98px-6486-j7qc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/matrix-org/synapse/pull/15601","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X6DH5A5YEB5LRIPP32OUW25FCGZFCZU2/","tags":[]}],"priority":{"score":12.4,"factors":[{"name":"EPSS percentile","points":9.98},{"name":"CVSS severity","points":2.45}]},"vendorSlug":"matrix-org","affectedVersions":[{"vendor":"matrix-org","product":"synapse","versions":["< 1.85.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-01-07T16:25:39.026761Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"matrix-synapse","vulnerableRanges":["<1.85.0"],"patched":["1.85.0"],"from":["GHSA-98px-6486-j7qc","PYSEC-2023-85"],"provenance":"source"}],"euvd":{"id":"EUVD-2023-0141","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-39335","published":"2023-05-26","fixed":"1.69.0","kev":false},{"cve":"CVE-2023-32323","published":"2023-05-26","fixed":"1.74.0","kev":false,"link":{"from":"CVE-2023-32323","to":"CVE-2023-32683","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:matrix-synapse","fromFixed":"1.74.0","toFixed":"1.85.0","daysApart":11}]}},{"cve":"CVE-2023-32682","published":"2023-06-06","fixed":"1.85.0","kev":false},{"cve":"CVE-2023-32683","published":"2023-06-06","fixed":"1.85.0","kev":false},{"cve":"CVE-2023-41335","published":"2023-09-26","fixed":"1.93.0","kev":false},{"cve":"CVE-2023-42453","published":"2023-09-26","fixed":"1.93.0","kev":false},{"cve":"CVE-2023-45129","published":"2023-10-10","fixed":"1.94.0","kev":false}],"package":"PyPI:matrix-synapse"}}