CVE-2023-36460 Mastodon vulnerable to arbitrary file creation through media attachments
CriticalCVSS 9.9
EPSS 40.1%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
Description
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| joinmastodon mastodon | >= 3.5.0, < 3.5.9; >= 4.0.0, < 4.0.5; >= 4.1.0, < 4.1.3 | 3.5.9, 4.0.5, 4.1.3 | Fixed |
| mastodon | = >= 3.5.0, < 3.5.9; = >= 4.0.0, < 4.0.5; = >= 4.1.0, < 4.1.3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| mastodon | = >= 3.5.0, < 3.5.9 | No fix listed |
| mastodon | = >= 4.0.0, < 4.0.5 | No fix listed |
| mastodon | = >= 4.1.0, < 4.1.3 | No fix listed |
| joinmastodon mastodon | >= 3.5.0, < 3.5.9 | 3.5.9 |
| joinmastodon mastodon | >= 4.0.0, < 4.0.5 | 4.0.5 |
| joinmastodon mastodon | >= 4.1.0, < 4.1.3 | 4.1.3 |
References
- https://github.com/mastodon/mastodon/security/advisories/GHSA-9928-3cp5-93fm third-party-advisory
- https://github.com/mastodon/mastodon/commit/dc8f1fbd976ae544720a4e07120d9a91b2722440 patch third-party-advisory
- https://github.com/mastodon/mastodon/releases/tag/v3.5.9 third-party-advisory
- https://github.com/mastodon/mastodon/releases/tag/v4.0.5 third-party-advisory
- https://github.com/mastodon/mastodon/releases/tag/v4.1.3 third-party-advisory
- www.openwall.com mailing-list