原始 OSV JSON{
"id": "GHSA-vgvf-9jh3-fg75",
"aliases": [
"CVE-2017-1000207"
],
"details": "A vulnerability in Swagger-Parser's version <= 1.0.30 and Swagger codegen version <= 2.2.2 yaml parsing functionality results in arbitrary code being executed when a maliciously crafted yaml Open-API specification is parsed. This in particular, affects the 'generate' and 'validate' command in swagger-codegen (<= 2.2.2) and can lead to arbitrary code being executed when these commands are used on a well-crafted yaml specification.",
"summary": "Deserialization of Untrusted Data in swagger-codegen",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.0.31"
}
]
}
],
"package": {
"name": "io.swagger:swagger-parser",
"ecosystem": "Maven"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.2.2"
}
]
}
],
"package": {
"name": "io.swagger:swagger-codegen",
"ecosystem": "Maven"
}
}
],
"modified": "2022-09-14T19:14:19Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"published": "2018-10-19T16:46:30Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000207",
"type": "ADVISORY"
},
{
"url": "https://github.com/swagger-api/swagger-parser/pull/481",
"type": "WEB"
},
{
"url": "https://github.com/advisories/GHSA-vgvf-9jh3-fg75",
"type": "ADVISORY"
},
{
"url": "https://github.com/swagger-api/swagger-parser",
"type": "PACKAGE"
},
{
"url": "https://lgtm.com/blog/swagger_snakeyaml_CVE-2017-1000207_CVE-2017-1000208",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-502"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2020-06-16T21:57:48Z"
}
}