CNVD-2017-38313

Vulnerability from cnvd - Published: 2017-12-28
VLAI
Title
Swagger Parser和Swagger codegen任意代码执行漏洞
Description
Swagger Parser是一个Swagger(跨语言REST API接口)解析器。Swagger codegen是一款API开发工具。 Swagger Parser 1.0.30及之前的版本和Swagger codegen 2.2.2及之前的版本中的yaml解析功能存在任意代码执行漏洞。攻击者可借助恶意制作的yaml Open-API规范利用该漏洞执行任意代码。
Severity
中
Patch Name
Swagger Parser和Swagger codegen任意代码执行漏洞的补丁
Patch Description
Swagger Parser是一个Swagger(跨语言REST API接口)解析器。Swagger codegen是一款API开发工具。 Swagger Parser 1.0.30及之前的版本和Swagger codegen 2.2.2及之前的版本中的yaml解析功能存在任意代码执行漏洞。攻击者可借助恶意制作的yaml Open-API规范利用该漏洞执行任意代码。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。
Formal description

目前厂商已发布升级补丁以修复漏洞,补丁获取链接: https://github.com/swagger-api/swagger-parser/pull/481

Reference
https://github.com/swagger-api/swagger-parser/pull/481
Impacted products
Name
["Swagger Swagger-Parser's <=1.0.30", 'Swagger Swagger codegen <= 2.2.2']
Show details on source website

{
  "cves": {
    "cve": {
      "cveNumber": "CVE-2017-1000207"
    }
  },
  "description": "Swagger Parser\u662f\u4e00\u4e2aSwagger\uff08\u8de8\u8bed\u8a00REST API\u63a5\u53e3\uff09\u89e3\u6790\u5668\u3002Swagger codegen\u662f\u4e00\u6b3eAPI\u5f00\u53d1\u5de5\u5177\u3002\r\n\r\nSwagger Parser 1.0.30\u53ca\u4e4b\u524d\u7684\u7248\u672c\u548cSwagger codegen 2.2.2\u53ca\u4e4b\u524d\u7684\u7248\u672c\u4e2d\u7684yaml\u89e3\u6790\u529f\u80fd\u5b58\u5728\u4efb\u610f\u4ee3\u7801\u6267\u884c\u6f0f\u6d1e\u3002\u653b\u51fb\u8005\u53ef\u501f\u52a9\u6076\u610f\u5236\u4f5c\u7684yaml Open-API\u89c4\u8303\u5229\u7528\u8be5\u6f0f\u6d1e\u6267\u884c\u4efb\u610f\u4ee3\u7801\u3002",
  "discovererName": "Man Yue Mo",
  "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/swagger-api/swagger-parser/pull/481",
  "isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
  "number": "CNVD-2017-38313",
  "openTime": "2017-12-28",
  "patchDescription": "Swagger Parser\u662f\u4e00\u4e2aSwagger\uff08\u8de8\u8bed\u8a00REST API\u63a5\u53e3\uff09\u89e3\u6790\u5668\u3002Swagger codegen\u662f\u4e00\u6b3eAPI\u5f00\u53d1\u5de5\u5177\u3002\r\n\r\nSwagger Parser 1.0.30\u53ca\u4e4b\u524d\u7684\u7248\u672c\u548cSwagger codegen 2.2.2\u53ca\u4e4b\u524d\u7684\u7248\u672c\u4e2d\u7684yaml\u89e3\u6790\u529f\u80fd\u5b58\u5728\u4efb\u610f\u4ee3\u7801\u6267\u884c\u6f0f\u6d1e\u3002\u653b\u51fb\u8005\u53ef\u501f\u52a9\u6076\u610f\u5236\u4f5c\u7684yaml Open-API\u89c4\u8303\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": "Swagger Parser\u548cSwagger codegen\u4efb\u610f\u4ee3\u7801\u6267\u884c\u6f0f\u6d1e\u7684\u8865\u4e01",
  "products": {
    "product": [
      "Swagger Swagger-Parser\u0027s \u003c=1.0.30",
      "Swagger Swagger codegen \u003c= 2.2.2"
    ]
  },
  "referenceLink": "https://github.com/swagger-api/swagger-parser/pull/481",
  "serverity": "\u4e2d",
  "submitTime": "2017-11-29",
  "title": "Swagger Parser\u548cSwagger codegen\u4efb\u610f\u4ee3\u7801\u6267\u884c\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…