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-21245

10.0 · CRITICAL
Published Jan 15, 2021 onedev_project CWE-434 EPSS 1.20% (66th pctl)

Overview

CVE-2021-21245 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, AttachmentUploadServlet also saves user controlled data (`request.getInputStream()`) to a user specified location (`request.getHeader("File-Name")`). This issue may lead to arbitrary file upload which can be used to upload a WebShell to OneDev server. This issue is addressed in 4.0.3 by only allowing uploaded file to be in attachments folder. The webshell issue is not possible as OneDev never executes files in attachments folder.

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-21245?

CVE-2021-21245 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-21245?

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-21245?

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-21245?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-21245 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.