Vulnerability from bitnami_vulndb
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.
{
"affected": [
{
"package": {
"ecosystem": "Bitnami",
"name": "mastodon",
"purl": "pkg:bitnami/mastodon"
},
"ranges": [
{
"events": [
{
"introduced": "3.5.0"
},
{
"fixed": "3.5.9"
},
{
"introduced": "4.0.0"
},
{
"fixed": "4.0.5"
},
{
"introduced": "4.1.0"
},
{
"fixed": "4.1.3"
}
],
"type": "SEMVER"
}
],
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
"type": "CVSS_V3"
}
]
}
],
"aliases": [
"CVE-2023-36460"
],
"database_specific": {
"cpes": [
"cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*"
],
"severity": "Critical"
},
"details": "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\u0027s 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.",
"id": "BIT-mastodon-2023-36460",
"modified": "2026-09-08T08:34:36.952Z",
"published": "2024-03-06T10:56:36.008Z",
"references": [
{
"type": "DISCUSSION",
"url": "http://www.openwall.com/lists/oss-security/2023/07/06/4"
},
{
"type": "ADVISORY",
"url": "https://github.com/mastodon/mastodon/commit/dc8f1fbd976ae544720a4e07120d9a91b2722440"
},
{
"type": "ADVISORY",
"url": "https://github.com/mastodon/mastodon/releases/tag/v3.5.9"
},
{
"type": "ADVISORY",
"url": "https://github.com/mastodon/mastodon/releases/tag/v4.0.5"
},
{
"type": "ADVISORY",
"url": "https://github.com/mastodon/mastodon/releases/tag/v4.1.3"
},
{
"type": "ADVISORY",
"url": "https://github.com/mastodon/mastodon/security/advisories/GHSA-9928-3cp5-93fm"
},
{
"type": "WEB",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2023-36460"
}
],
"schema_version": "1.5.0",
"summary": "Mastodon vulnerable to arbitrary file creation through media attachments"
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.