{"id":"CVE-2017-1000207","aliases":[],"url":"https://o3.security/vulnerability/CVE-2017-1000207","summary":"Deserialization of Untrusted Data in swagger-codegen","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.","published":"2018-10-19T16:46:30Z","modified":"2023-11-08T03:58:44.046299Z","cvss":{"score":8.8,"severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"Maven","name":"io.swagger:swagger-parser","fixedVersion":"1.0.31"},{"ecosystem":"Maven","name":"io.swagger:swagger-codegen","fixedVersion":"2.2.2"}],"fix":{"url":"https://github.com/swagger-api/swagger-parser/pull/481","label":"swagger-api/swagger-parser#481"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-1000207"},{"type":"WEB","url":"https://github.com/swagger-api/swagger-parser/pull/481"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-vgvf-9jh3-fg75"},{"type":"PACKAGE","url":"https://github.com/swagger-api/swagger-parser"},{"type":"WEB","url":"https://lgtm.com/blog/swagger_snakeyaml_CVE-2017-1000207_CVE-2017-1000208"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2023-11-08T03:58:44.046299Z"}}