{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "4.0.3"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4bd71941974a1b077e955616d7ba3da6fd21670c"
            },
            {
              "fixed": "4f5dc6fb9e50f2c41c4929b0d8c5824b2cca3d65"
            }
          ],
          "repo": "https://github.com/theonedev/onedev",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "OneDev is an all-in-one devops platform. In OneDev before version 4.0.3, There is a vulnerability that enabled pre-auth server side template injection via Bean validation message tampering. Full details in the reference GHSA. This issue was fixed in 4.0.3 by disabling validation interpolation completely.",
  "id": "CVE-2021-21244",
  "modified": "2026-03-13T21:51:58.341523577Z",
  "published": "2021-01-15T20:15:12.097Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/theonedev/onedev/security/advisories/GHSA-vm26-xg39-cfj4"
    },
    {
      "type": "FIX",
      "url": "https://github.com/theonedev/onedev/commit/4f5dc6fb9e50f2c41c4929b0d8c5824b2cca3d65"
    }
  ],
  "related": [
    "GHSA-vm26-xg39-cfj4"
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}