{"id":"CVE-2021-21244","published":"2021-01-15T20:05:13Z","modified":"2024-08-03T18:09:14Z","title":"Pre-Auth SSTI via Bean validation message tampering","vendor":"theonedev","product":"onedev","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01513,"percentile":0.75025,"provenance":"source"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"references":[{"url":"https://github.com/theonedev/onedev/security/advisories/GHSA-vm26-xg39-cfj4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/theonedev/onedev/commit/4f5dc6fb9e50f2c41c4929b0d8c5824b2cca3d65","tags":["x_refsource_MISC"]}],"priority":{"score":22.0,"factors":[{"name":"EPSS percentile","points":15.0},{"name":"CVSS severity","points":7.0}]},"vendorSlug":"theonedev","affectedVersions":[{"vendor":"theonedev","product":"onedev","versions":["< 4.0.3"]}],"euvd":{"id":"EUVD-2021-8627","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-theonedev-onedev-cve-2021-21242","parents":[{"from":"CVE-2021-21242","to":"CVE-2021-21244","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server-core/src/main/java/io/onedev/server/CoreModule.java"],"commits":["https://github.com/theonedev/onedev/commit/f864053176c08f59ef2d97fea192ceca46a4d9be","https://github.com/theonedev/onedev/commit/4f5dc6fb9e50f2c41c4929b0d8c5824b2cca3d65"],"basis":"rarely changed file"}]}]}}