CNVD-2022-85490

Vulnerability from cnvd - Published: 2022-11-29
VLAI
Title
static-dev-server目录遍历漏洞
Description
static-dev-server是一个简单的http服务器,用于从本地目录提供静态资源文件,并在文件更改时自动重新加载。 npm static-dev-server所有版本存在目录遍历漏洞,该漏洞源于在处理目录请求时的路径缺乏有效性检查,攻击者可利用该漏洞通过特别设计的web请求从底层文件系统中检索任意文件。
Severity
高
Patch Name
static-dev-server目录遍历漏洞的补丁
Patch Description
static-dev-server是一个简单的http服务器,用于从本地目录提供静态资源文件,并在文件更改时自动重新加载。 npm static-dev-server所有版本存在目录遍历漏洞,该漏洞源于在处理目录请求时的路径缺乏有效性检查,攻击者可利用该漏洞通过特别设计的web请求从底层文件系统中检索任意文件。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。
Formal description

目前厂商已发布升级补丁以修复漏洞,补丁获取链接: https://github.com/etoah/static-dev-server

Reference
https://security.snyk.io/vuln/SNYK-JS-STATICDEVSERVER-3149917
Impacted products
Name
npm static-dev-server null
Show details on source website

{
  "cves": {
    "cve": {
      "cveNumber": "CVE-2022-25848",
      "cveUrl": "https://nvd.nist.gov/vuln/detail/CVE-2022-25848"
    }
  },
  "description": "static-dev-server\u662f\u4e00\u4e2a\u7b80\u5355\u7684http\u670d\u52a1\u5668\uff0c\u7528\u4e8e\u4ece\u672c\u5730\u76ee\u5f55\u63d0\u4f9b\u9759\u6001\u8d44\u6e90\u6587\u4ef6\uff0c\u5e76\u5728\u6587\u4ef6\u66f4\u6539\u65f6\u81ea\u52a8\u91cd\u65b0\u52a0\u8f7d\u3002\n\nnpm static-dev-server\u6240\u6709\u7248\u672c\u5b58\u5728\u76ee\u5f55\u904d\u5386\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u6e90\u4e8e\u5728\u5904\u7406\u76ee\u5f55\u8bf7\u6c42\u65f6\u7684\u8def\u5f84\u7f3a\u4e4f\u6709\u6548\u6027\u68c0\u67e5\uff0c\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u901a\u8fc7\u7279\u522b\u8bbe\u8ba1\u7684web\u8bf7\u6c42\u4ece\u5e95\u5c42\u6587\u4ef6\u7cfb\u7edf\u4e2d\u68c0\u7d22\u4efb\u610f\u6587\u4ef6\u3002",
  "discovererName": "\u5229\u5170\u5854\u5c14",
  "formalWay": "\u76ee\u524d\u5382\u5546\u5df2\u53d1\u5e03\u5347\u7ea7\u8865\u4e01\u4ee5\u4fee\u590d\u6f0f\u6d1e\uff0c\u8865\u4e01\u83b7\u53d6\u94fe\u63a5\uff1a\r\nhttps://github.com/etoah/static-dev-server",
  "isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
  "number": "CNVD-2022-85490",
  "openTime": "2022-11-29",
  "patchDescription": "static-dev-server\u662f\u4e00\u4e2a\u7b80\u5355\u7684http\u670d\u52a1\u5668\uff0c\u7528\u4e8e\u4ece\u672c\u5730\u76ee\u5f55\u63d0\u4f9b\u9759\u6001\u8d44\u6e90\u6587\u4ef6\uff0c\u5e76\u5728\u6587\u4ef6\u66f4\u6539\u65f6\u81ea\u52a8\u91cd\u65b0\u52a0\u8f7d\u3002\r\n\r\nnpm static-dev-server\u6240\u6709\u7248\u672c\u5b58\u5728\u76ee\u5f55\u904d\u5386\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u6e90\u4e8e\u5728\u5904\u7406\u76ee\u5f55\u8bf7\u6c42\u65f6\u7684\u8def\u5f84\u7f3a\u4e4f\u6709\u6548\u6027\u68c0\u67e5\uff0c\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u901a\u8fc7\u7279\u522b\u8bbe\u8ba1\u7684web\u8bf7\u6c42\u4ece\u5e95\u5c42\u6587\u4ef6\u7cfb\u7edf\u4e2d\u68c0\u7d22\u4efb\u610f\u6587\u4ef6\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": "static-dev-server\u76ee\u5f55\u904d\u5386\u6f0f\u6d1e\u7684\u8865\u4e01",
  "products": {
    "product": "npm static-dev-server null"
  },
  "referenceLink": "https://security.snyk.io/vuln/SNYK-JS-STATICDEVSERVER-3149917",
  "serverity": "\u9ad8",
  "submitTime": "2022-12-01",
  "title": "static-dev-server\u76ee\u5f55\u904d\u5386\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…