Vulnerability

CVE-2021-21245

criticalCVSS 3.1 9.8Published 15 Jan 2021

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Onedev Project onedev

Weakness type

References

  • github.com /theonedev/onedev/commit/0c060153fb97c0288a1917efdb17cc4269…
  • github.com /theonedev/onedev/security/advisories/GHSA-62m2-38q5-96w9

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning