{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2017-1000208","id":"CVE-2017-1000208","title":"Deserialization of Untrusted Data in swagger-parser","description":"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.","descriptionLong":"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.","published":"2017-11-17T02:00:00.000Z","updated":"2026-10-20T10:48:07.800279566Z","reserved":"2017-11-16T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"io.swagger:swagger-codegen","purl":"pkg:maven/io.swagger/swagger-codegen","ranges":["<2.2.2"],"fixed":["2.2.2"],"advisory":"GHSA-q7pf-qr96-2vq5"},{"ecosystem":"Maven","name":"io.swagger:swagger-parser","purl":"pkg:maven/io.swagger/swagger-parser","ranges":["<1.0.31"],"fixed":["1.0.31"],"advisory":"GHSA-q7pf-qr96-2vq5"}],"cwes":["CWE-502"],"aliases":["GHSA-q7pf-qr96-2vq5"],"references":[{"url":"https://lgtm.com/blog/swagger_snakeyaml_CVE-2017-1000207_CVE-2017-1000208","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/swagger-api/swagger-parser/releases/tag/v1.0.31","tags":["x_refsource_CONFIRM","x_transferred","Release Notes","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-1000208","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-q7pf-qr96-2vq5","tags":["advisory"]},{"url":"https://github.com/swagger-api/swagger-parser","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01705,"epssPercentile":0.77743,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2017-1000208","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-1000208","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2017-1000208","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-q7pf-qr96-2vq5","ok":true,"note":"GHSA-q7pf-qr96-2vq5"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2017-1000208","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}