HIGH🇵🇱 Wersja polska

CVE-2021-21250

CVSS 7.7v3.1pub. 2021-01-15upd. 2024-11-21

OneDev is an all-in-one devops platform. In OneDev before version 4.0.3, there is a critical vulnerability which may lead to arbitrary file read. When BuildSpec is provided in XML format, the spec is processed by XmlBuildSpecMigrator.migrate(buildSpecString); which processes the XML document without preventing the expansion of external entities. These entities can be configured to read arbitrary files from the file system and dump their contents in the final XML document to be migrated. If the files are dumped in properties included in the YAML file, it will be possible for an attacker to read them. If not, it is possible for an attacker to exfiltrate the contents of these files Out Of Band. This issue was addressed in 4.0.3 by ignoring ENTITY instructions in xml file.

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
  • Onedev Project Onedev

    APP
    Onedev Project
    < 4.0.3
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
CWE
References

Related vulnerabilities

CVE-2022-39206CRITICAL9.9ten sam produkt

Onedev is an open source, self-hosted Git Server with CI/CD and Kanban. When using Docker-based job executors,...

CVE-2022-39205CRITICAL9.0ten sam produkt

Onedev is an open source, self-hosted Git Server with CI/CD and Kanban. In versions of Onedev prior to 7.3.0 u...

CVE-2021-21244CRITICAL10.0ten sam produkt

OneDev is an all-in-one devops platform. In OneDev before version 4.0.3, There is a vulnerability that enabled...

CVE-2021-21243CRITICAL10.0ten sam produkt

OneDev is an all-in-one devops platform. In OneDev before version 4.0.3, a Kubernetes REST endpoint exposes tw...

CVE-2021-21245CRITICAL10.0ten sam produkt

OneDev is an all-in-one devops platform. In OneDev before version 4.0.3, AttachmentUploadServlet also saves us...