Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-21242

10.0 · CRITICAL
Published Jan 15, 2021 onedev_project CWE-74 EPSS 74.19% (99th pctl)

Overview

CVE-2021-21242 is a critical-severity vulnerability affecting onedev_project onedev. It was published on January 15, 2021 and has a CVSS 3.1 base score of 10.0 (CRITICAL).

This vulnerability has a CVSS 3.1 base score of 10.0, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical 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

Remediation

Check the references section for vendor advisories and patches from onedev_project. Update onedev to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
onedev_project onedev >= 0, < 4.0.3 Affected

Frequently Asked Questions

What is CVE-2021-21242?

CVE-2021-21242 is a critical-severity vulnerability affecting onedev_project onedev. It was published on January 15, 2021 and has a CVSS 3.1 base score of 10.0 (CRITICAL).

How severe is CVE-2021-21242?

This vulnerability has a CVSS 3.1 base score of 10.0, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2021-21242?

Check the references section for vendor advisories and patches from onedev_project. Update onedev to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-21242?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-21242 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.