cnvd-2021-49071
Vulnerability from cnvd

Title: XStream远程代码执行漏洞(CNVD-2021-49071)

Description:

XStream是一个Java类库,主要用来将Java对象序列化成XML或反序列化为对象,可处理的对象类型几乎没有限制。

XStream 1.4.16及之前的版本中存在远程代码执行漏洞。该漏洞源于XStream解组XML时,若处理的数据流中包含重新创建已写入对象的类型信息,XStream将基于这些类型信息创建新的实例。攻击者可操纵经过处理的输入流,替换或注入代码,通过构造恶意XML利用该漏洞执行主机命令。

Severity:

Patch Name: XStream远程代码执行漏洞(CNVD-2021-49071)的补丁

Patch Description:

XStream是一个Java类库,主要用来将Java对象序列化成XML或反序列化为对象,可处理的对象类型几乎没有限制。

XStream 1.4.16及之前的版本中存在远程代码执行漏洞。该漏洞源于XStream解组XML时,若处理的数据流中包含重新创建已写入对象的类型信息,XStream将基于这些类型信息创建新的实例。攻击者可操纵经过处理的输入流,替换或注入代码,通过构造恶意XML利用该漏洞执行主机命令。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。

Formal description:

厂商已发布了漏洞修补程序,请及时关注更新: http://x-stream.github.io/download.html

Reference: http://x-stream.github.io/CVE-2021-29505.html

Impacted products
Name
XStream XStream <=1.4.16
Show details on source website


{
  "cves": {
    "cve": {
      "cveNumber": "CVE-2021-29505",
      "cveUrl": "https://nvd.nist.gov/vuln/detail/CVE-2021-29505"
    }
  },
  "description": "XStream\u662f\u4e00\u4e2aJava\u7c7b\u5e93\uff0c\u4e3b\u8981\u7528\u6765\u5c06Java\u5bf9\u8c61\u5e8f\u5217\u5316\u6210XML\u6216\u53cd\u5e8f\u5217\u5316\u4e3a\u5bf9\u8c61\uff0c\u53ef\u5904\u7406\u7684\u5bf9\u8c61\u7c7b\u578b\u51e0\u4e4e\u6ca1\u6709\u9650\u5236\u3002\n\nXStream 1.4.16\u53ca\u4e4b\u524d\u7684\u7248\u672c\u4e2d\u5b58\u5728\u8fdc\u7a0b\u4ee3\u7801\u6267\u884c\u6f0f\u6d1e\u3002\u8be5\u6f0f\u6d1e\u6e90\u4e8eXStream\u89e3\u7ec4XML\u65f6\uff0c\u82e5\u5904\u7406\u7684\u6570\u636e\u6d41\u4e2d\u5305\u542b\u91cd\u65b0\u521b\u5efa\u5df2\u5199\u5165\u5bf9\u8c61\u7684\u7c7b\u578b\u4fe1\u606f\uff0cXStream\u5c06\u57fa\u4e8e\u8fd9\u4e9b\u7c7b\u578b\u4fe1\u606f\u521b\u5efa\u65b0\u7684\u5b9e\u4f8b\u3002\u653b\u51fb\u8005\u53ef\u64cd\u7eb5\u7ecf\u8fc7\u5904\u7406\u7684\u8f93\u5165\u6d41\uff0c\u66ff\u6362\u6216\u6ce8\u5165\u4ee3\u7801\uff0c\u901a\u8fc7\u6784\u9020\u6076\u610fXML\u5229\u7528\u8be5\u6f0f\u6d1e\u6267\u884c\u4e3b\u673a\u547d\u4ee4\u3002",
  "formalWay": "\u5382\u5546\u5df2\u53d1\u5e03\u4e86\u6f0f\u6d1e\u4fee\u8865\u7a0b\u5e8f\uff0c\u8bf7\u53ca\u65f6\u5173\u6ce8\u66f4\u65b0\uff1a\r\nhttp://x-stream.github.io/download.html",
  "isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
  "number": "CNVD-2021-49071",
  "openTime": "2021-07-10",
  "patchDescription": "XStream\u662f\u4e00\u4e2aJava\u7c7b\u5e93\uff0c\u4e3b\u8981\u7528\u6765\u5c06Java\u5bf9\u8c61\u5e8f\u5217\u5316\u6210XML\u6216\u53cd\u5e8f\u5217\u5316\u4e3a\u5bf9\u8c61\uff0c\u53ef\u5904\u7406\u7684\u5bf9\u8c61\u7c7b\u578b\u51e0\u4e4e\u6ca1\u6709\u9650\u5236\u3002\r\n\r\nXStream 1.4.16\u53ca\u4e4b\u524d\u7684\u7248\u672c\u4e2d\u5b58\u5728\u8fdc\u7a0b\u4ee3\u7801\u6267\u884c\u6f0f\u6d1e\u3002\u8be5\u6f0f\u6d1e\u6e90\u4e8eXStream\u89e3\u7ec4XML\u65f6\uff0c\u82e5\u5904\u7406\u7684\u6570\u636e\u6d41\u4e2d\u5305\u542b\u91cd\u65b0\u521b\u5efa\u5df2\u5199\u5165\u5bf9\u8c61\u7684\u7c7b\u578b\u4fe1\u606f\uff0cXStream\u5c06\u57fa\u4e8e\u8fd9\u4e9b\u7c7b\u578b\u4fe1\u606f\u521b\u5efa\u65b0\u7684\u5b9e\u4f8b\u3002\u653b\u51fb\u8005\u53ef\u64cd\u7eb5\u7ecf\u8fc7\u5904\u7406\u7684\u8f93\u5165\u6d41\uff0c\u66ff\u6362\u6216\u6ce8\u5165\u4ee3\u7801\uff0c\u901a\u8fc7\u6784\u9020\u6076\u610fXML\u5229\u7528\u8be5\u6f0f\u6d1e\u6267\u884c\u4e3b\u673a\u547d\u4ee4\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": "XStream\u8fdc\u7a0b\u4ee3\u7801\u6267\u884c\u6f0f\u6d1e\uff08CNVD-2021-49071\uff09\u7684\u8865\u4e01",
  "products": {
    "product": "XStream XStream \u003c=1.4.16"
  },
  "referenceLink": "http://x-stream.github.io/CVE-2021-29505.html",
  "serverity": "\u4e2d",
  "submitTime": "2021-05-21",
  "title": "XStream\u8fdc\u7a0b\u4ee3\u7801\u6267\u884c\u6f0f\u6d1e\uff08CNVD-2021-49071\uff09"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…