Deserialization of Untrusted Data in OneDev - CVE-2021-21242
Published: January 12, 2021 / Updated: May 5, 2026
OneDev
OneDev
Description
The vulnerability allows a remote attacker to execute arbitrary code.
The vulnerability exists due to unsafe deserialization in AttachmentUploadServlet when handling a POST request with a crafted Attachment-Support header. A remote attacker can send a specially crafted request to execute arbitrary code.
The servlet does not enforce authentication or authorization checks.