CNVD-2021-05131

Vulnerability from cnvd - Published: 2021-01-22
VLAI
Title
Theonedev Onedev代码问题漏洞
Description
Theonedev Onedev是Theonedev团队的一个基于JAVA的多合一DevOps平台。该平台支持容器构建、编排、CI、Git管理、团队协作等功能,帮助开发者构建一个简单、功能强大的开发平台。 Theonedev Onedev 4.0.3之前版本存在代码问题漏洞,该漏洞源于AttachmentUploadServlet保存用户控制的数据request.getInputStream()到用户指定的位置request.getHeader("File-Name")。攻击者可利用该漏洞任意的文件上传。
Severity
高
Patch Name
Theonedev Onedev代码问题漏洞的补丁
Patch Description
Theonedev Onedev是Theonedev团队的一个基于JAVA的多合一DevOps平台。该平台支持容器构建、编排、CI、Git管理、团队协作等功能,帮助开发者构建一个简单、功能强大的开发平台。 Theonedev Onedev 4.0.3之前版本存在代码问题漏洞,该漏洞源于AttachmentUploadServlet保存用户控制的数据request.getInputStream()到用户指定的位置request.getHeader("File-Name")。攻击者可利用该漏洞任意的文件上传。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。
Formal description

厂商已发布了漏洞修复程序,请及时关注更新:https://github.com/theonedev/onedev/commit/0c060153fb97c0288a1917efdb17cc426934dacb

Reference
https://nvd.nist.gov/vuln/detail/CVE-2021-21245
Impacted products
Name
Theonedev Theonedev Onedev <4.0.3
Show details on source website

{
  "cves": {
    "cve": {
      "cveNumber": "CVE-2021-21245",
      "cveUrl": "https://nvd.nist.gov/vuln/detail/CVE-2021-21245"
    }
  },
  "description": "Theonedev Onedev\u662fTheonedev\u56e2\u961f\u7684\u4e00\u4e2a\u57fa\u4e8eJAVA\u7684\u591a\u5408\u4e00DevOps\u5e73\u53f0\u3002\u8be5\u5e73\u53f0\u652f\u6301\u5bb9\u5668\u6784\u5efa\u3001\u7f16\u6392\u3001CI\u3001Git\u7ba1\u7406\u3001\u56e2\u961f\u534f\u4f5c\u7b49\u529f\u80fd\uff0c\u5e2e\u52a9\u5f00\u53d1\u8005\u6784\u5efa\u4e00\u4e2a\u7b80\u5355\u3001\u529f\u80fd\u5f3a\u5927\u7684\u5f00\u53d1\u5e73\u53f0\u3002\n\nTheonedev Onedev 4.0.3\u4e4b\u524d\u7248\u672c\u5b58\u5728\u4ee3\u7801\u95ee\u9898\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u6e90\u4e8eAttachmentUploadServlet\u4fdd\u5b58\u7528\u6237\u63a7\u5236\u7684\u6570\u636erequest.getInputStream()\u5230\u7528\u6237\u6307\u5b9a\u7684\u4f4d\u7f6erequest.getHeader(\"File-Name\")\u3002\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u4efb\u610f\u7684\u6587\u4ef6\u4e0a\u4f20\u3002",
  "formalWay": "\u5382\u5546\u5df2\u53d1\u5e03\u4e86\u6f0f\u6d1e\u4fee\u590d\u7a0b\u5e8f\uff0c\u8bf7\u53ca\u65f6\u5173\u6ce8\u66f4\u65b0\uff1ahttps://github.com/theonedev/onedev/commit/0c060153fb97c0288a1917efdb17cc426934dacb",
  "isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
  "number": "CNVD-2021-05131",
  "openTime": "2021-01-22",
  "patchDescription": "Theonedev Onedev\u662fTheonedev\u56e2\u961f\u7684\u4e00\u4e2a\u57fa\u4e8eJAVA\u7684\u591a\u5408\u4e00DevOps\u5e73\u53f0\u3002\u8be5\u5e73\u53f0\u652f\u6301\u5bb9\u5668\u6784\u5efa\u3001\u7f16\u6392\u3001CI\u3001Git\u7ba1\u7406\u3001\u56e2\u961f\u534f\u4f5c\u7b49\u529f\u80fd\uff0c\u5e2e\u52a9\u5f00\u53d1\u8005\u6784\u5efa\u4e00\u4e2a\u7b80\u5355\u3001\u529f\u80fd\u5f3a\u5927\u7684\u5f00\u53d1\u5e73\u53f0\u3002\r\n\r\nTheonedev Onedev 4.0.3\u4e4b\u524d\u7248\u672c\u5b58\u5728\u4ee3\u7801\u95ee\u9898\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u6e90\u4e8eAttachmentUploadServlet\u4fdd\u5b58\u7528\u6237\u63a7\u5236\u7684\u6570\u636erequest.getInputStream()\u5230\u7528\u6237\u6307\u5b9a\u7684\u4f4d\u7f6erequest.getHeader(\"File-Name\")\u3002\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u4efb\u610f\u7684\u6587\u4ef6\u4e0a\u4f20\u3002\u76ee\u524d\uff0c\u4f9b\u5e94\u5546\u53d1\u5e03\u4e86\u5b89\u5168\u516c\u544a\u53ca\u76f8\u5173\u8865\u4e01\u4fe1\u606f\uff0c\u4fee\u590d\u4e86\u6b64\u6f0f\u6d1e\u3002",
  "patchName": "Theonedev Onedev\u4ee3\u7801\u95ee\u9898\u6f0f\u6d1e\u7684\u8865\u4e01",
  "products": {
    "product": "Theonedev Theonedev Onedev \u003c4.0.3"
  },
  "referenceLink": "https://nvd.nist.gov/vuln/detail/CVE-2021-21245",
  "serverity": "\u9ad8",
  "submitTime": "2021-01-18",
  "title": "Theonedev Onedev\u4ee3\u7801\u95ee\u9898\u6f0f\u6d1e"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…