{"id":"CVE-2021-21247","aliases":["CVE-2021-21247"],"related":[],"kind":"vulnerability","state":"published","title":"Post-Auth Unsafe Deserialization on BasePage (AJAX)","summary":"OneDev is an all-in-one devops platform. In OneDev before version 4.0.3, the application's BasePage registers an AJAX event listener (`AbstractPostAjaxBehavior`) in all pages other than the login page. This listener decodes and deserializes the `data` query parameter. We can access this listener by submitting a POST request to any page. This issue may lead to `post-auth RCE` This endpoint is subject to authentication and, therefore, requires a valid user to carry on the attack. This issue was addressed in 4.0.3 by encrypting serialization payload with secrets only known to server.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"OneDev is an all-in-one devops platform. In OneDev before version 4.0.3, the application's BasePage registers an AJAX event listener (`AbstractPostAjaxBehavior`) in all pages other than the login page. This listener decodes and deserializes the `data` query parameter. We can access this listener by submitting a POST request to any page. This issue may lead to `post-auth RCE` This endpoint is subject to authentication and, therefore, requires a valid user to carry on the attack. This issue was addressed in 4.0.3 by encrypting serialization payload with secrets only known to server.","source":"cvelist"},{"lang":"es","text":"OneDev es una plataforma devops todo en uno.&#xa0;En OneDev versiones anteriores a  4.0.3, la BasePage de la aplicación registra un detector de eventos AJAX (\"AbstractPostAjaxBehavior\") en todas las páginas excepto en la página de inicio de sesión.&#xa0;Este oyente decodifica y deserializa el parámetro de consulta \"data\".&#xa0;Podemos acceder a este oyente mediante el envío de una petición  POST a cualquier página.&#xa0;Este problema puede conllevar a una \"post-auth RCE\". Este endpoint está sujeto a autenticación y, por lo tanto, requiere un usuario válido para llevar a cabo el ataque.&#xa0;Este problema fue abordado en la versión 4.0.3 al descifrar una carga útil de serialización con secretos que solo conoce el servidor","source":"nvd"}],"published":"2021-01-15T20:10:40.000Z","modified":"2026-06-17T03:35:07.370Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","score":9.6,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","score":9.6,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-74","CWE-502"],"affected":[{"ranges":[{"version":"< 4.0.3","status":"affected"}],"vendor":"theonedev","product":"onedev","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"4.0.3"}],"vendor":"onedev_project","product":"onedev","cpe":"cpe:2.3:a:onedev_project:onedev:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/theonedev/onedev/security/advisories/GHSA-6pxf-75cf-vwjp","tags":["third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-21247","url":"https://www.cve.org/CVERecord?id=CVE-2021-21247","licence":"CVE Terms of Use","modified":"2024-08-03T18:09:14.990Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-21247","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21247","licence":"Public domain","modified":"2026-06-17T03:35:07.370Z"}],"updatedAt":"2026-11-25T22:57:59.492Z","epss":{"score":0.01521,"percentile":0.75335,"date":"2026-12-01T12:00:22.000Z"}}