{
    "id": "CVE-2021-21242",
    "published": "2021-01-15 21:15:13",
    "last_modified": "2026-06-17 03:35:06",
    "cvss_score": "10.0",
    "cvss_severity": "CRITICAL",
    "cvss_version": "3.1",
    "cvss_vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N",
    "cwe": "CWE-74",
    "description": "OneDev is an all-in-one devops platform. In OneDev before version 4.0.3, there is a critical vulnerability which can lead to pre-auth remote code execution. AttachmentUploadServlet deserializes untrusted data from the `Attachment-Support` header. This Servlet does not enforce any authentication or authorization checks. This issue may lead to pre-auth remote code execution. This issue was fixed in 4.0.3 by removing AttachmentUploadServlet and not using deserialization",
    "epss_score": "0.74191",
    "epss_percentile": "0.99474",
    "kev": 0,
    "kev_due": null,
    "has_exploit": 0,
    "updated_at": "2026-09-26 18:48:28",
    "priority": {
        "rank": 2,
        "label": "Patch early",
        "why": "EPSS 74.2% — above the 10% action threshold."
    },
    "products": [
        {
            "vendor": "onedev_project",
            "product": "onedev"
        }
    ],
    "kev_detail": null,
    "exploits": [],
    "refs_list": [
        "https://github.com/theonedev/onedev/commit/f864053176c08f59ef2d97fea192ceca46a4d9be",
        "https://github.com/theonedev/onedev/security/advisories/GHSA-5q3q-f373-2jv8",
        "https://github.com/theonedev/onedev/commit/f864053176c08f59ef2d97fea192ceca46a4d9be",
        "https://github.com/theonedev/onedev/security/advisories/GHSA-5q3q-f373-2jv8"
    ]
}