原始 OSV JSON{
"id": "GHSA-q7pf-qr96-2vq5",
"aliases": [
"CVE-2017-1000208"
],
"details": "A vulnerability in Swagger-Parser's (version <= 1.0.30) 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-parser",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.2.2"
}
]
}
],
"package": {
"name": "io.swagger:swagger-codegen",
"ecosystem": "Maven"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.0.31"
}
]
}
],
"package": {
"name": "io.swagger:swagger-parser",
"ecosystem": "Maven"
}
}
],
"modified": "2022-09-14T19:14:55Z",
"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:41Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000208",
"type": "ADVISORY"
},
{
"url": "https://github.com/advisories/GHSA-q7pf-qr96-2vq5",
"type": "ADVISORY"
},
{
"url": "https://github.com/swagger-api/swagger-parser",
"type": "PACKAGE"
},
{
"url": "https://github.com/swagger-api/swagger-parser/releases/tag/v1.0.31",
"type": "WEB"
},
{
"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:51:22Z"
}
}