CNVD-2022-23465

Vulnerability from cnvd - Published: 2022-03-29
VLAI
Title
shescape信息泄露漏洞
Description
shescape是开源的一个用于JavaScript的简单外壳转义程序包。使用它可以将用户控制的输入转义给shell命令,以防止shell注入。 shescape 1.4.0到1.5.1版本存在信息泄露漏洞,该漏洞源于使用Bash和shescape API中的escape或escapeAll函数并将interpolation选项设为true时,Unix系统上的主目录会被暴露,攻击者可利用该漏洞在使用shescape的应用程序中进行目录遍历。
Severity
低
Patch Name
shescape信息泄露漏洞的补丁
Patch Description
shescape是开源的一个用于JavaScript的简单外壳转义程序包。使用它可以将用户控制的输入转义给shell命令,以防止shell注入。 shescape 1.4.0到1.5.1版本存在信息泄露漏洞,该漏洞源于使用Bash和shescape API中的escape或escapeAll函数并将interpolation选项设为true时,Unix系统上的主目录会被暴露,攻击者可利用该漏洞在使用shescape的应用程序中进行目录遍历。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。
Formal description

厂商已发布了漏洞修复程序,请及时关注更新: https://github.com/ericcornelissen/shescape/security/advisories/GHSA-446w-rrm4-r47f

Reference
https://nvd.nist.gov/vuln/detail/CVE-2022-24725
Impacted products
Name
shescape shescape >=1.4.0,<=1.5.1
Show details on source website

{
  "cves": {
    "cve": {
      "cveNumber": "CVE-2022-24725"
    }
  },
  "description": "shescape\u662f\u5f00\u6e90\u7684\u4e00\u4e2a\u7528\u4e8eJavaScript\u7684\u7b80\u5355\u5916\u58f3\u8f6c\u4e49\u7a0b\u5e8f\u5305\u3002\u4f7f\u7528\u5b83\u53ef\u4ee5\u5c06\u7528\u6237\u63a7\u5236\u7684\u8f93\u5165\u8f6c\u4e49\u7ed9shell\u547d\u4ee4\uff0c\u4ee5\u9632\u6b62shell\u6ce8\u5165\u3002\n\nshescape 1.4.0\u52301.5.1\u7248\u672c\u5b58\u5728\u4fe1\u606f\u6cc4\u9732\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u6e90\u4e8e\u4f7f\u7528Bash\u548cshescape API\u4e2d\u7684escape\u6216escapeAll\u51fd\u6570\u5e76\u5c06interpolation\u9009\u9879\u8bbe\u4e3atrue\u65f6\uff0cUnix\u7cfb\u7edf\u4e0a\u7684\u4e3b\u76ee\u5f55\u4f1a\u88ab\u66b4\u9732\uff0c\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u5728\u4f7f\u7528shescape\u7684\u5e94\u7528\u7a0b\u5e8f\u4e2d\u8fdb\u884c\u76ee\u5f55\u904d\u5386\u3002",
  "formalWay": "\u5382\u5546\u5df2\u53d1\u5e03\u4e86\u6f0f\u6d1e\u4fee\u590d\u7a0b\u5e8f\uff0c\u8bf7\u53ca\u65f6\u5173\u6ce8\u66f4\u65b0\uff1a\r\nhttps://github.com/ericcornelissen/shescape/security/advisories/GHSA-446w-rrm4-r47f",
  "isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
  "number": "CNVD-2022-23465",
  "openTime": "2022-03-29",
  "patchDescription": "shescape\u662f\u5f00\u6e90\u7684\u4e00\u4e2a\u7528\u4e8eJavaScript\u7684\u7b80\u5355\u5916\u58f3\u8f6c\u4e49\u7a0b\u5e8f\u5305\u3002\u4f7f\u7528\u5b83\u53ef\u4ee5\u5c06\u7528\u6237\u63a7\u5236\u7684\u8f93\u5165\u8f6c\u4e49\u7ed9shell\u547d\u4ee4\uff0c\u4ee5\u9632\u6b62shell\u6ce8\u5165\u3002\r\n\r\nshescape 1.4.0\u52301.5.1\u7248\u672c\u5b58\u5728\u4fe1\u606f\u6cc4\u9732\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u6e90\u4e8e\u4f7f\u7528Bash\u548cshescape API\u4e2d\u7684escape\u6216escapeAll\u51fd\u6570\u5e76\u5c06interpolation\u9009\u9879\u8bbe\u4e3atrue\u65f6\uff0cUnix\u7cfb\u7edf\u4e0a\u7684\u4e3b\u76ee\u5f55\u4f1a\u88ab\u66b4\u9732\uff0c\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u5728\u4f7f\u7528shescape\u7684\u5e94\u7528\u7a0b\u5e8f\u4e2d\u8fdb\u884c\u76ee\u5f55\u904d\u5386\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": "shescape\u4fe1\u606f\u6cc4\u9732\u6f0f\u6d1e\u7684\u8865\u4e01",
  "products": {
    "product": "shescape shescape \u003e=1.4.0\uff0c\u003c=1.5.1"
  },
  "referenceLink": "https://nvd.nist.gov/vuln/detail/CVE-2022-24725",
  "serverity": "\u4f4e",
  "submitTime": "2022-03-04",
  "title": "shescape\u4fe1\u606f\u6cc4\u9732\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…