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.9PL ✓same product

OneDev: ucieczka z kontenera Docker i przejęcie hosta przez CI/CD

CVE-2022-39205CRITICAL9.0PL ✓same product

OneDev: Pominięcie uwierzytelnienia prowadzące do RCE przez endpoint git callback

CVE-2021-21244CRITICAL10.0PL ✓same product

Pre-auth Server Side Template Injection w OneDev (przed 4.0.3)

CVE-2021-21243CRITICAL10.0PL ✓same product

OneDev — pre-auth RCE przez deserializację w endpointach Kubernetes

CVE-2021-21245CRITICAL10.0PL ✓same product

OneDev: Dowolne przesyłanie plików przez AttachmentUploadServlet