{"answers":{"affected":"3 open source packages ship an affected version, including matrix-synapse. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-32683 in the wild and no public exploit code.","fix":"Upgrade matrix-synapse to 1.85.0 or later.","what":"CVE-2023-32683 is a low-severity server-side request forgery vulnerability in matrix-org synapse, published on 6 Jun 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-32683 and fix it if it is affected.\n\nWhat it is: CVE-2023-32683 is a low-severity server-side request forgery vulnerability in matrix-org synapse, published on 6 Jun 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2023-32683 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- matrix-synapse (PyPI): affected all versions; fixed in 1.85.0\n- matrix-synapse (PyPI): affected all versions; fixed in 1.85.0\n- matrix-synapse (PyPI): affected all versions; fixed in 1.85.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-32683/ (Markdown: https://insights.sbomify.com/CVE-2023-32683/index.md)","id":"CVE-2023-32683","markdown":"https://insights.sbomify.com/CVE-2023-32683/index.md","name":"CVE-2023-32683","record":{"aliases":["GHSA-98px-6486-j7qc","PYSEC-2023-85","UBUNTU-CVE-2023-32683"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["security_bypass","data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"Matrix homeserver","requires_auth":"low_privilege","summary":"Attackers can bypass URL blacklists via oEmbed or image previews in Synapse, enabling server-side request forgery against allowed IP ranges.","user_interaction":"required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"synapse","vendor":"matrix"}],"cvss":{"score":3.5,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"},{"id":"CWE-863","name":"Incorrect Authorization"}],"description":"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"URL deny list bypass via oEmbed and image URLs when generating previews in Synapse","id":"CVE-2023-32683","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"ssrf","year":"2023"},"n_packages":3,"n_references":3,"next":{"headline":"In Lima, a malicious disk image could read a single file on the host filesystem as a qcow2/vmdk backing file","id":"CVE-2023-32684"},"packages":[{"ecosystem":"PyPI","fixed":["1.85.0"],"introduced":["0"],"last_affected":[],"package":"matrix-synapse","purl":null,"source":"GHSA-98px-6486-j7qc"},{"ecosystem":"PyPI","fixed":["1.85.0"],"introduced":["0"],"last_affected":[],"package":"matrix-synapse","purl":"pkg:pypi/matrix-synapse","source":"GHSA-98px-6486-j7qc"},{"ecosystem":"PyPI","fixed":["1.85.0"],"introduced":["0"],"last_affected":[],"package":"matrix-synapse","purl":"pkg:pypi/matrix-synapse","source":"PYSEC-2023-85"}],"prev":{"headline":"Improper checks for deactivated users during login in synapse","id":"CVE-2023-32682"},"products":["synapse"],"published":"2023-06-06","related":[{"cvss_score":9.8,"headline":"Improper Verification of Cryptographic Signature in matrix-synapse","id":"CVE-2019-18835","kev_date_added":null,"published":"2019-11-07"},{"cvss_score":8.7,"headline":"Synapse allows a a malformed invite to break the invitee's `/sync`","id":"CVE-2024-52815","kev_date_added":null,"published":"2024-12-03"},{"cvss_score":8.2,"headline":"Synapse allows unsupported content types to lead to memory exhaustion","id":"CVE-2024-52805","kev_date_added":null,"published":"2024-12-03"},{"cvss_score":8.2,"headline":"Synapse can be forced to thumbnail unexpected file formats, invoking external, potentially untrustworthy decoders","id":"CVE-2024-53863","kev_date_added":null,"published":"2024-12-03"},{"cvss_score":7.5,"headline":"Synapse denial of service through media disk space consumption","id":"CVE-2024-37302","kev_date_added":null,"published":"2024-12-03"},{"cvss_score":7.5,"headline":"Matrix Synapse Authorization Error","id":"CVE-2018-12423","kev_date_added":null,"published":"2018-06-14"},{"cvss_score":7.5,"headline":"Matrix Synapse Security Filtering Flaw","id":"CVE-2018-12291","kev_date_added":null,"published":"2018-06-13"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-02-13","vendors":["matrix-org"]},"summary":"Attackers can bypass URL blacklists via oEmbed or image previews in Synapse, enabling server-side request forgery against allowed IP ranges.","url":"https://insights.sbomify.com/CVE-2023-32683/"}