GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CNVD-2020-60332

Vulnerability from cnvd - Published: 2020-11-03
VLAI
Title
webpack-subresource-integrity数据伪造问题漏洞
Description
webpack-subresource-integrity是个人开发者的一个应用于网站静态文件安全的npm扩展库。该库可产生加密的Hash编码用于验证浏览器获取的文件(例如从CDN获取)是安全的。 webpack-subresource-integrity 1.5.1之前版本存在webpack插件漏洞。该漏洞与受影响版本无法验证动态加载的区块的完整性有关。存在所有动态加载的区块都会收到一个无效的完整性哈希,浏览器会忽略这个哈希,因此浏览器无法验证它们的完整性。Webpack插件,用于启用子资源完整性。子资源完整性(SRI)是一项安全功能,使浏览器可以验证是否已交付获取的文件而没有意外的操作。攻击者可利用该漏洞忽略完整性验证,进行恶意攻击。
Severity
Patch Name
webpack-subresource-integrity数据伪造问题漏洞的补丁
Patch Description
webpack-subresource-integrity是个人开发者的一个应用于网站静态文件安全的npm扩展库。该库可产生加密的Hash编码用于验证浏览器获取的文件(例如从CDN获取)是安全的。 webpack-subresource-integrity 1.5.1之前版本存在webpack插件漏洞。该漏洞与受影响版本无法验证动态加载的区块的完整性有关。存在所有动态加载的区块都会收到一个无效的完整性哈希,浏览器会忽略这个哈希,因此浏览器无法验证它们的完整性。Webpack插件,用于启用子资源完整性。子资源完整性(SRI)是一项安全功能,使浏览器可以验证是否已交付获取的文件而没有意外的操作。攻击者可利用该漏洞忽略完整性验证,进行恶意攻击。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。
Formal description

目前厂商已发布升级补丁以修复漏洞,补丁获取链接: https://github.com/waysact/webpack-subresource-integrity/security/advisories/GHSA-4fc4-chg7-h8gh

Reference
https://nvd.nist.gov/vuln/detail/CVE-2020-15262
Impacted products
Name
webpack-subresource-integrity webpack-subresource-integrity <1.5.1
Show details on source website

{
  "cves": {
    "cve": {
      "cveNumber": "CVE-2020-15262",
      "cveUrl": "https://nvd.nist.gov/vuln/detail/CVE-2020-15262"
    }
  },
  "description": "webpack-subresource-integrity\u662f\u4e2a\u4eba\u5f00\u53d1\u8005\u7684\u4e00\u4e2a\u5e94\u7528\u4e8e\u7f51\u7ad9\u9759\u6001\u6587\u4ef6\u5b89\u5168\u7684npm\u6269\u5c55\u5e93\u3002\u8be5\u5e93\u53ef\u4ea7\u751f\u52a0\u5bc6\u7684Hash\u7f16\u7801\u7528\u4e8e\u9a8c\u8bc1\u6d4f\u89c8\u5668\u83b7\u53d6\u7684\u6587\u4ef6\uff08\u4f8b\u5982\u4eceCDN\u83b7\u53d6\uff09\u662f\u5b89\u5168\u7684\u3002\n\nwebpack-subresource-integrity 1.5.1\u4e4b\u524d\u7248\u672c\u5b58\u5728webpack\u63d2\u4ef6\u6f0f\u6d1e\u3002\u8be5\u6f0f\u6d1e\u4e0e\u53d7\u5f71\u54cd\u7248\u672c\u65e0\u6cd5\u9a8c\u8bc1\u52a8\u6001\u52a0\u8f7d\u7684\u533a\u5757\u7684\u5b8c\u6574\u6027\u6709\u5173\u3002\u5b58\u5728\u6240\u6709\u52a8\u6001\u52a0\u8f7d\u7684\u533a\u5757\u90fd\u4f1a\u6536\u5230\u4e00\u4e2a\u65e0\u6548\u7684\u5b8c\u6574\u6027\u54c8\u5e0c\uff0c\u6d4f\u89c8\u5668\u4f1a\u5ffd\u7565\u8fd9\u4e2a\u54c8\u5e0c\uff0c\u56e0\u6b64\u6d4f\u89c8\u5668\u65e0\u6cd5\u9a8c\u8bc1\u5b83\u4eec\u7684\u5b8c\u6574\u6027\u3002Webpack\u63d2\u4ef6\uff0c\u7528\u4e8e\u542f\u7528\u5b50\u8d44\u6e90\u5b8c\u6574\u6027\u3002\u5b50\u8d44\u6e90\u5b8c\u6574\u6027\uff08SRI\uff09\u662f\u4e00\u9879\u5b89\u5168\u529f\u80fd\uff0c\u4f7f\u6d4f\u89c8\u5668\u53ef\u4ee5\u9a8c\u8bc1\u662f\u5426\u5df2\u4ea4\u4ed8\u83b7\u53d6\u7684\u6587\u4ef6\u800c\u6ca1\u6709\u610f\u5916\u7684\u64cd\u4f5c\u3002\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u5ffd\u7565\u5b8c\u6574\u6027\u9a8c\u8bc1\uff0c\u8fdb\u884c\u6076\u610f\u653b\u51fb\u3002",
  "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/waysact/webpack-subresource-integrity/security/advisories/GHSA-4fc4-chg7-h8gh",
  "isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
  "number": "CNVD-2020-60332",
  "openTime": "2020-11-03",
  "patchDescription": "webpack-subresource-integrity\u662f\u4e2a\u4eba\u5f00\u53d1\u8005\u7684\u4e00\u4e2a\u5e94\u7528\u4e8e\u7f51\u7ad9\u9759\u6001\u6587\u4ef6\u5b89\u5168\u7684npm\u6269\u5c55\u5e93\u3002\u8be5\u5e93\u53ef\u4ea7\u751f\u52a0\u5bc6\u7684Hash\u7f16\u7801\u7528\u4e8e\u9a8c\u8bc1\u6d4f\u89c8\u5668\u83b7\u53d6\u7684\u6587\u4ef6\uff08\u4f8b\u5982\u4eceCDN\u83b7\u53d6\uff09\u662f\u5b89\u5168\u7684\u3002\r\n\r\nwebpack-subresource-integrity 1.5.1\u4e4b\u524d\u7248\u672c\u5b58\u5728webpack\u63d2\u4ef6\u6f0f\u6d1e\u3002\u8be5\u6f0f\u6d1e\u4e0e\u53d7\u5f71\u54cd\u7248\u672c\u65e0\u6cd5\u9a8c\u8bc1\u52a8\u6001\u52a0\u8f7d\u7684\u533a\u5757\u7684\u5b8c\u6574\u6027\u6709\u5173\u3002\u5b58\u5728\u6240\u6709\u52a8\u6001\u52a0\u8f7d\u7684\u533a\u5757\u90fd\u4f1a\u6536\u5230\u4e00\u4e2a\u65e0\u6548\u7684\u5b8c\u6574\u6027\u54c8\u5e0c\uff0c\u6d4f\u89c8\u5668\u4f1a\u5ffd\u7565\u8fd9\u4e2a\u54c8\u5e0c\uff0c\u56e0\u6b64\u6d4f\u89c8\u5668\u65e0\u6cd5\u9a8c\u8bc1\u5b83\u4eec\u7684\u5b8c\u6574\u6027\u3002Webpack\u63d2\u4ef6\uff0c\u7528\u4e8e\u542f\u7528\u5b50\u8d44\u6e90\u5b8c\u6574\u6027\u3002\u5b50\u8d44\u6e90\u5b8c\u6574\u6027\uff08SRI\uff09\u662f\u4e00\u9879\u5b89\u5168\u529f\u80fd\uff0c\u4f7f\u6d4f\u89c8\u5668\u53ef\u4ee5\u9a8c\u8bc1\u662f\u5426\u5df2\u4ea4\u4ed8\u83b7\u53d6\u7684\u6587\u4ef6\u800c\u6ca1\u6709\u610f\u5916\u7684\u64cd\u4f5c\u3002\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u5ffd\u7565\u5b8c\u6574\u6027\u9a8c\u8bc1\uff0c\u8fdb\u884c\u6076\u610f\u653b\u51fb\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": "webpack-subresource-integrity\u6570\u636e\u4f2a\u9020\u95ee\u9898\u6f0f\u6d1e\u7684\u8865\u4e01",
  "products": {
    "product": "webpack-subresource-integrity webpack-subresource-integrity \u003c1.5.1"
  },
  "referenceLink": "https://nvd.nist.gov/vuln/detail/CVE-2020-15262",
  "serverity": "\u4e2d",
  "submitTime": "2020-10-26",
  "title": "webpack-subresource-integrity\u6570\u636e\u4f2a\u9020\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…

Detection rules are retrieved from Rulezet.

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…