CNVD-2022-03910

Vulnerability from cnvd - Published: 2022-01-14
VLAI
Title
Bundler代码注入漏洞
Description
Bundler是一个用于在Ruby中管理应用程序依赖关系的包。通过跟踪和安装所需的确切gem和版本,为Ruby项目提供了一致的环境。 Bundler存在代码注入漏洞,该漏洞源于在使用Gemfile时,如果 Gemfile 包含 gem 条目并使git选项无效,攻击者通过构造特殊的文件内容可以导致恶意命令注入。
Severity
高
Patch Name
Bundler代码注入漏洞的补丁
Patch Description
Bundler是一个用于在Ruby中管理应用程序依赖关系的包。通过跟踪和安装所需的确切gem和版本,为Ruby项目提供了一致的环境。 Bundler存在代码注入漏洞,该漏洞源于在使用Gemfile时,如果 Gemfile 包含 gem 条目并使git选项无效,攻击者通过构造特殊的文件内容可以导致恶意命令注入。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。
Formal description

厂商已发布了漏洞修复程序,请及时关注更新: https://github.com/rubygems/rubygems/security/advisories/GHSA-fj7f-vq84-fh43

Reference
https://github.com/rubygems/rubygems/commit/a4f2f8ac17e6ce81c689527a8b6f14381060d95f
Impacted products
Name
Bundler Bundler <2.2.33
Show details on source website

{
  "cves": {
    "cve": {
      "cveNumber": "CVE-2021-43809",
      "cveUrl": "https://nvd.nist.gov/vuln/detail/CVE-2021-43809"
    }
  },
  "description": "Bundler\u662f\u4e00\u4e2a\u7528\u4e8e\u5728Ruby\u4e2d\u7ba1\u7406\u5e94\u7528\u7a0b\u5e8f\u4f9d\u8d56\u5173\u7cfb\u7684\u5305\u3002\u901a\u8fc7\u8ddf\u8e2a\u548c\u5b89\u88c5\u6240\u9700\u7684\u786e\u5207gem\u548c\u7248\u672c\uff0c\u4e3aRuby\u9879\u76ee\u63d0\u4f9b\u4e86\u4e00\u81f4\u7684\u73af\u5883\u3002\n\nBundler\u5b58\u5728\u4ee3\u7801\u6ce8\u5165\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u6e90\u4e8e\u5728\u4f7f\u7528Gemfile\u65f6\uff0c\u5982\u679c Gemfile \u5305\u542b gem \u6761\u76ee\u5e76\u4f7fgit\u9009\u9879\u65e0\u6548\uff0c\u653b\u51fb\u8005\u901a\u8fc7\u6784\u9020\u7279\u6b8a\u7684\u6587\u4ef6\u5185\u5bb9\u53ef\u4ee5\u5bfc\u81f4\u6076\u610f\u547d\u4ee4\u6ce8\u5165\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/rubygems/rubygems/security/advisories/GHSA-fj7f-vq84-fh43",
  "isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
  "number": "CNVD-2022-03910",
  "openTime": "2022-01-14",
  "patchDescription": "Bundler\u662f\u4e00\u4e2a\u7528\u4e8e\u5728Ruby\u4e2d\u7ba1\u7406\u5e94\u7528\u7a0b\u5e8f\u4f9d\u8d56\u5173\u7cfb\u7684\u5305\u3002\u901a\u8fc7\u8ddf\u8e2a\u548c\u5b89\u88c5\u6240\u9700\u7684\u786e\u5207gem\u548c\u7248\u672c\uff0c\u4e3aRuby\u9879\u76ee\u63d0\u4f9b\u4e86\u4e00\u81f4\u7684\u73af\u5883\u3002\r\n\r\nBundler\u5b58\u5728\u4ee3\u7801\u6ce8\u5165\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u6e90\u4e8e\u5728\u4f7f\u7528Gemfile\u65f6\uff0c\u5982\u679c Gemfile \u5305\u542b gem \u6761\u76ee\u5e76\u4f7fgit\u9009\u9879\u65e0\u6548\uff0c\u653b\u51fb\u8005\u901a\u8fc7\u6784\u9020\u7279\u6b8a\u7684\u6587\u4ef6\u5185\u5bb9\u53ef\u4ee5\u5bfc\u81f4\u6076\u610f\u547d\u4ee4\u6ce8\u5165\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": "Bundler\u4ee3\u7801\u6ce8\u5165\u6f0f\u6d1e\u7684\u8865\u4e01",
  "products": {
    "product": "Bundler Bundler \u003c2.2.33"
  },
  "referenceLink": "https://github.com/rubygems/rubygems/commit/a4f2f8ac17e6ce81c689527a8b6f14381060d95f",
  "serverity": "\u9ad8",
  "submitTime": "2021-12-12",
  "title": "Bundler\u4ee3\u7801\u6ce8\u5165\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…