CVE-2023-32683
URL deny list bypass via oEmbed and image URLs when generating previews in Synapse
Reported by github_m · Published June 6, 2023
matrix-synapse is fixed in 1.85.0 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| matrix-synapse | PyPI | 1.85.0 |
| synapse | matrix | 1.85.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| matrix-org | synapse | < 1.85.0 |
| matrix-org | synapse | 0 |
| alpine | synapse | 0 |
| PyPI | matrix-synapse | 0 |
Timeline
- Jun 6, 2023 CVE Published
- Jun 7, 2023 EPSS Score (30 in total, the first dated here)
- Jan 7, 2025 PoC Published
- Feb 15, 2026 Security Advisory
- Feb 15, 2026 CVE Updated
- Aug 9, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-32683
vulnetix vdb fixes CVE-2023-32683
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-32683/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/matrix-org/synapse/security/advisories/GHSA-98px-6486-j7qc x_refsource_CONFIRM
- https://github.com/matrix-org/synapse/pull/15601 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2023-32683 advisory
- https://github.com/advisories/GHSA-98px-6486-j7qc advisory
- https://github.com/matrix-org/synapse url
- https://github.com/matrix-org/synapse/releases/tag/v1.85.0 url
- https://github.com/pypa/advisory-database/tree/main/vulns/matrix-synapse/PYSEC-2023-85.yaml advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X6DH5A5YEB5LRIPP32OUW25FCGZFCZU2 url