CNVD-2020-14353

Vulnerability from cnvd - Published: 2020-02-28
VLAI
Title
compile-sass远程代码执行漏洞
Description
compile-sass是一款使用node-sass即时编译SASS和将其保存到CSS文件的模块。 compile-sass 1.0.5之前版本中存在安全漏洞,该漏洞源于在执行‘rm’命令之前,程序未能清理dist/index.js文件中的‘setupCleanupOnExit(cssPath)’函数。攻击者可利用该漏洞执行任意代码。
Severity
高
Patch Name
compile-sass远程代码执行漏洞的补丁
Patch Description
compile-sass是一款使用node-sass即时编译SASS和将其保存到CSS文件的模块。 compile-sass 1.0.5之前版本中存在安全漏洞,该漏洞源于在执行‘rm’命令之前,程序未能清理dist/index.js文件中的‘setupCleanupOnExit(cssPath)’函数。攻击者可利用该漏洞执行任意代码。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。
Formal description

厂商已发布了漏洞修复程序,请及时关注更新: https://github.com/eiskalteschatten/compile-sass/commit/d9ada7797ff93875b6466dea7a78768e90a0f8d2

Reference
https://snyk.io/vuln/SNYK-JS-RPI-548942
Impacted products
Name
compile-sass compile-sass <1.0.5
Show details on source website

{
  "cves": {
    "cve": {
      "cveNumber": "CVE-2019-10799",
      "cveUrl": "https://nvd.nist.gov/vuln/detail/CVE-2019-10799"
    }
  },
  "description": "compile-sass\u662f\u4e00\u6b3e\u4f7f\u7528node-sass\u5373\u65f6\u7f16\u8bd1SASS\u548c\u5c06\u5176\u4fdd\u5b58\u5230CSS\u6587\u4ef6\u7684\u6a21\u5757\u3002\n\ncompile-sass 1.0.5\u4e4b\u524d\u7248\u672c\u4e2d\u5b58\u5728\u5b89\u5168\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u6e90\u4e8e\u5728\u6267\u884c\u2018rm\u2019\u547d\u4ee4\u4e4b\u524d\uff0c\u7a0b\u5e8f\u672a\u80fd\u6e05\u7406dist/index.js\u6587\u4ef6\u4e2d\u7684\u2018setupCleanupOnExit(cssPath)\u2019\u51fd\u6570\u3002\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u6267\u884c\u4efb\u610f\u4ee3\u7801\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/eiskalteschatten/compile-sass/commit/d9ada7797ff93875b6466dea7a78768e90a0f8d2",
  "isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
  "number": "CNVD-2020-14353",
  "openTime": "2020-02-28",
  "patchDescription": "compile-sass\u662f\u4e00\u6b3e\u4f7f\u7528node-sass\u5373\u65f6\u7f16\u8bd1SASS\u548c\u5c06\u5176\u4fdd\u5b58\u5230CSS\u6587\u4ef6\u7684\u6a21\u5757\u3002\r\n\r\ncompile-sass 1.0.5\u4e4b\u524d\u7248\u672c\u4e2d\u5b58\u5728\u5b89\u5168\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u6e90\u4e8e\u5728\u6267\u884c\u2018rm\u2019\u547d\u4ee4\u4e4b\u524d\uff0c\u7a0b\u5e8f\u672a\u80fd\u6e05\u7406dist/index.js\u6587\u4ef6\u4e2d\u7684\u2018setupCleanupOnExit(cssPath)\u2019\u51fd\u6570\u3002\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u6267\u884c\u4efb\u610f\u4ee3\u7801\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": "compile-sass\u8fdc\u7a0b\u4ee3\u7801\u6267\u884c\u6f0f\u6d1e\u7684\u8865\u4e01",
  "products": {
    "product": "compile-sass compile-sass \u003c1.0.5"
  },
  "referenceLink": "https://snyk.io/vuln/SNYK-JS-RPI-548942",
  "serverity": "\u9ad8",
  "submitTime": "2020-02-25",
  "title": "compile-sass\u8fdc\u7a0b\u4ee3\u7801\u6267\u884c\u6f0f\u6d1e"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

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.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
Events included in the timeline

Loading timeline…


    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.