CNVD-2025-05817

Vulnerability from cnvd - Published: 2025-03-27
VLAI
Title
Vite存在访问控制错误漏洞(CNVD-2025-05817)
Description
Vite是Vite开源的一种新型的前端构建工具。 Vite存在访问控制错误漏洞,攻击者可利用该漏洞绕过开发服务器的保护机制,非法访问项目根目录外的敏感文件。
Severity
中
Patch Name
Vite存在访问控制错误漏洞(CNVD-2025-05817)的补丁
Patch Description
Vite是Vite开源的一种新型的前端构建工具。 Vite存在访问控制错误漏洞,该漏洞源于URL中的`?raw??`或`?import&raw??`可以绕过文件访问限制,返回任意文件内容。攻击者可利用该漏洞获取敏感信息。 目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。
Formal description

目前厂商已发布升级程序修复该安全问题,详情见厂商官网: https://github.com/vitejs/vite/releases/tag/v6.2.3

Reference
https://nvd.nist.gov/vuln/detail/CVE-2025-30208
Impacted products
Name
['Vite Vite <=4.5.9', 'Vite Vite >=6.2.0, <=6.2.2', 'Vite Vite >=6.1.0, <=6.1.1', 'Vite Vite >=6.0.0,<=6.0.11', 'Vite Vite >=5.0.0, <=5.4.14']
Show details on source website

{
  "cves": {
    "cve": {
      "cveNumber": "CVE-2025-30208"
    }
  },
  "description": "Vite\u662fVite\u5f00\u6e90\u7684\u4e00\u79cd\u65b0\u578b\u7684\u524d\u7aef\u6784\u5efa\u5de5\u5177\u3002\n\nVite\u5b58\u5728\u8bbf\u95ee\u63a7\u5236\u9519\u8bef\u6f0f\u6d1e\uff0c\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u7ed5\u8fc7\u5f00\u53d1\u670d\u52a1\u5668\u7684\u4fdd\u62a4\u673a\u5236\uff0c\u975e\u6cd5\u8bbf\u95ee\u9879\u76ee\u6839\u76ee\u5f55\u5916\u7684\u654f\u611f\u6587\u4ef6\u3002",
  "formalWay": "\u76ee\u524d\u5382\u5546\u5df2\u53d1\u5e03\u5347\u7ea7\u7a0b\u5e8f\u4fee\u590d\u8be5\u5b89\u5168\u95ee\u9898\uff0c\u8be6\u60c5\u89c1\u5382\u5546\u5b98\u7f51:\r\nhttps://github.com/vitejs/vite/releases/tag/v6.2.3",
  "isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
  "number": "CNVD-2025-05817",
  "openTime": "2025-03-27",
  "patchDescription": "Vite\u662fVite\u5f00\u6e90\u7684\u4e00\u79cd\u65b0\u578b\u7684\u524d\u7aef\u6784\u5efa\u5de5\u5177\u3002\r\n\r\nVite\u5b58\u5728\u8bbf\u95ee\u63a7\u5236\u9519\u8bef\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u6e90\u4e8eURL\u4e2d\u7684`?raw??`\u6216`?import\u0026raw??`\u53ef\u4ee5\u7ed5\u8fc7\u6587\u4ef6\u8bbf\u95ee\u9650\u5236\uff0c\u8fd4\u56de\u4efb\u610f\u6587\u4ef6\u5185\u5bb9\u3002\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u83b7\u53d6\u654f\u611f\u4fe1\u606f\u3002\r\n\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": "Vite\u5b58\u5728\u8bbf\u95ee\u63a7\u5236\u9519\u8bef\u6f0f\u6d1e\uff08CNVD-2025-05817\uff09\u7684\u8865\u4e01",
  "products": {
    "product": [
      "Vite Vite \u003c=4.5.9",
      "Vite Vite \u003e=6.2.0\uff0c \u003c=6.2.2",
      "Vite Vite \u003e=6.1.0\uff0c \u003c=6.1.1",
      "Vite Vite \u003e=6.0.0\uff0c\u003c=6.0.11",
      "Vite Vite \u003e=5.0.0\uff0c \u003c=5.4.14"
    ]
  },
  "referenceLink": "https://nvd.nist.gov/vuln/detail/CVE-2025-30208",
  "serverity": "\u4e2d",
  "submitTime": "2025-03-27",
  "title": "Vite\u5b58\u5728\u8bbf\u95ee\u63a7\u5236\u9519\u8bef\u6f0f\u6d1e\uff08CNVD-2025-05817\uff09"
}



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…