{"id":"CVE-2023-42450","published":"2023-09-19T15:53:39Z","modified":"2025-06-18T14:28:57Z","title":"Mastodon Server-Side Request Forgery vulnerability","vendor":"mastodon","product":"mastodon","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0046,"percentile":0.40743,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"},{"id":"CWE-113","name":"Improper Neutralization of CRLF Sequences in HTTP Headers"}],"references":[{"url":"https://github.com/mastodon/mastodon/security/advisories/GHSA-hcqf-fw2r-52g4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/mastodon/mastodon/commit/94893cf24fc95b32cc7a756262acbe008c20a9d2","tags":["x_refsource_MISC"]}],"priority":{"score":11.9,"factors":[{"name":"EPSS percentile","points":8.15},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"mastodon","affectedVersions":[{"vendor":"mastodon","product":"mastodon","versions":[">= 4.2.0-beta1, < 4.2.0-rc2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-06-18T14:28:37.435949Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-46896","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-mastodon-cve-2023-36461","parents":[{"from":"CVE-2023-36461","to":"CVE-2023-42450","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["app/lib/request.rb"],"commits":["https://github.com/mastodon/mastodon/commit/c5929798bf7e56cc2c79b15bed0c4692ded3dcb6","https://github.com/mastodon/mastodon/commit/94893cf24fc95b32cc7a756262acbe008c20a9d2"],"basis":"rarely changed file"}]}]}}