{"id":"BIT-mastodon-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":["CVE-2023-42450","GHSA-hcqf-fw2r-52g4"],"modified":"2025-10-15T02:42:26.439396Z","published":"2024-03-06T10:56:05.281Z","database_specific":{"severity":"High","cpes":["cpe:2.3:a:joinmastodon:mastodon:4.2.0:beta1:*:*:*:*:*:*","cpe:2.3:a:joinmastodon:mastodon:4.2.0:beta2:*:*:*:*:*:*","cpe:2.3:a:joinmastodon:mastodon:4.2.0:beta3:*:*:*:*:*:*","cpe:2.3:a:joinmastodon:mastodon:4.2.0:rc1:*:*:*:*:*:*","cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*"]},"references":[{"type":"WEB","url":"https://github.com/mastodon/mastodon/commit/94893cf24fc95b32cc7a756262acbe008c20a9d2"},{"type":"WEB","url":"https://github.com/mastodon/mastodon/security/advisories/GHSA-hcqf-fw2r-52g4"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-42450"}],"affected":[{"package":{"name":"mastodon","ecosystem":"Bitnami","purl":"pkg:bitnami/mastodon"},"ranges":[{"type":"SEMVER","events":[{"introduced":"4.2.0-beta1"},{"fixed":"4.2.0"},{"introduced":"4.2.0-beta2"},{"fixed":"4.2.0"},{"introduced":"4.2.0-beta3"},{"fixed":"4.2.0"},{"introduced":"4.2.0-rc1"},{"fixed":"4.2.0"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/mastodon/BIT-mastodon-2023-42450.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}],"schema_version":"1.7.3"}