
6/7/2023

18/11/2024
CVE-2023-36460: Mastodon vulnerable to arbitrary file creation through media attachments
First published: Thu Jul 06 2023(Updated: )
Mastodon is a free, open-source social network server based on ActivityPub. Starting in version 3.5.0 and prior to versions 3.5.9, 4.0.5, and 4.1.3, attackers using carefully crafted media files can cause Mastodon's media processing code to create arbitrary files at any location. This allows attackers to create and overwrite any file Mastodon has access to, allowing Denial of Service and arbitrary Remote Code Execution. Versions 3.5.9, 4.0.5, and 4.1.3 contain a patch for this issue.
Credit: security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|
Mastodon | >=3.5.0<3.5.9 | |
Mastodon | >=4.0.0<4.0.5 | |
Mastodon | >=4.1.0<4.1.3 | |
Mastodon | =3.5.17 | |
Mastodon | =4.0.13 | |
Mastodon | =4.1.13 | |
Mastodon | =4.2.5 | |
Never miss a vulnerability like this again
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
Peer vulnerabilities
(Found alongside the following vulnerabilities)
Frequently Asked Questions
What is the vulnerability ID for this Mastodon vulnerability?
The vulnerability ID for this Mastodon vulnerability is CVE-2023-36460.
What is the severity of CVE-2023-36460?
The severity of CVE-2023-36460 is critical.
Which versions of Mastodon are affected by CVE-2023-36460?
Versions 3.5.0 to 3.5.9, 4.0.0 to 4.0.5, and 4.1.0 to 4.1.3 of Mastodon are affected by CVE-2023-36460.
How can attackers exploit CVE-2023-36460?
Attackers can exploit CVE-2023-36460 by using carefully crafted media files to create arbitrary files at any location in Mastodon's media processing code.
Where can I find more information about CVE-2023-36460?
You can find more information about CVE-2023-36460 at the following references: [http://www.openwall.com/lists/oss-security/2023/07/06/4](http://www.openwall.com/lists/oss-security/2023/07/06/4), [https://github.com/mastodon/mastodon/commit/dc8f1fbd976ae544720a4e07120d9a91b2722440](https://github.com/mastodon/mastodon/commit/dc8f1fbd976ae544720a4e07120d9a91b2722440), [https://github.com/mastodon/mastodon/releases/tag/v3.5.9](https://github.com/mastodon/mastodon/releases/tag/v3.5.9).
- agent/type
- collector/the-register
- source/The Register
- alias/CVE-2024-23832
- alias/CVE-2023-36460
- alias/CVE-2023-36459
- agent/weakness
- agent/remedy
- agent/author
- agent/description
- collector/bleeping-computer
- source/BleepingComputer
- agent/references
- agent/softwarecombine
- collector/mitre-cve
- source/MITRE
- agent/severity
- agent/title
- agent/last-modified-date
- agent/first-publish-date
- agent/event
- agent/trending
- agent/source
- agent/tags
- collector/nvd-index
- agent/software-canonical-lookup-request
- agent/news-ai
- agent/software-canonical-lookup
- vendor/joinmastodon
- canonical/mastodon
- version/mastodon/3.5.0
- version/mastodon/4.0.0
- version/mastodon/4.1.0
- vendor/mastodon
- version/mastodon/3.5.17
- version/mastodon/4.0.13
- version/mastodon/4.1.13
- version/mastodon/4.2.5
Contact
SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.coBy using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203