{"id":"CVE-2023-42450","summary":"Mastodon Server-Side Request Forgery vulnerability","details":"Mastodon is a free, open-source social network server based on ActivityPub. Starting in version 4.2.0-beta1 and prior to version 4.2.0-rc2, by crafting specific input, attackers can inject arbitrary data into HTTP requests issued by Mastodon. This can be used to perform confused deputy attacks if the server configuration includes `ALLOWED_PRIVATE_ADDRESSES` to allow access to local exploitable services. Version 4.2.0-rc2 has a patch for the issue.","aliases":["BIT-mastodon-2023-42450","GHSA-hcqf-fw2r-52g4"],"modified":"2026-08-27T03:30:56.889115991Z","published":"2023-09-19T15:53:39.685Z","database_specific":{"cwe_ids":["CWE-113","CWE-918"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/42xxx/CVE-2023-42450.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/42xxx/CVE-2023-42450.json"},{"type":"ADVISORY","url":"https://github.com/mastodon/mastodon/security/advisories/GHSA-hcqf-fw2r-52g4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-42450"},{"type":"FIX","url":"https://github.com/mastodon/mastodon/commit/94893cf24fc95b32cc7a756262acbe008c20a9d2"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mastodon/mastodon","events":[{"introduced":"dab54ccbba3721382241725bb1c1159d24b5aab2"},{"fixed":"f4b780ba22d0256770766185cee5f8fcc5585c95"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"4.2.0-beta1"},{"fixed":"4.2.0-rc2"}]}}],"versions":["4.2.0-beta1","4.2.0-beta2","4.2.0-beta3","4.2.0-rc1","v4.2.0-rc1","v4.2.0-beta3","v4.2.0-beta2","v4.2.0-beta1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-42450.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N"}]}