Security mailing lists by PureSourceCode

CVE-2024-25623

HIGH 7.7CVSS 3.1

Mastodon is a free, open-source social network server based on ActivityPub. Prior to versions 4.2.7, 4.1.15, 4.0.15, and 3.5.19, when fetching remote statuses, Mastodon doesn't check that the response from the remote server has a Content-Type header value of the Activity Streams media type, which allows a threat actor to upload a crafted Activity Streams document to a remote server and make a Mastodon server fetch it, if the remote server accepts arbitrary user uploads. The vulnerability allows a threat actor to impersonate an account on a remote server that satisfies all of the following properties: allows the attacker to register an account; accepts arbitrary user-uploaded documents and places them on the same domain as the ActivityPub actors; and serves user-uploaded document in response to requests with an Accept header value of the Activity Streams media type. Versions 4.2.7, 4.1.15, 4.0.15, and 3.5.19 contain a fix for this issue.

Published
19 Feb 2024
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-434
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.7 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD joinmastodon mastodon
cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*
< 3.5.19 3.5.19
NVD joinmastodon mastodon
cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*
>= 4.0.0, < 4.0.15 4.0.15
NVD joinmastodon mastodon
cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*
>= 4.1.0, < 4.1.15 4.1.15
NVD joinmastodon mastodon
cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*
>= 4.2.0, < 4.2.7 4.2.7

References

History

  • 25 Nov 2026 20:54 UTC · NVD: first stored (published 19 Feb 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.