{"id":"CVE-2017-1000208","details":"A vulnerability in Swagger-Parser's (version \u003c= 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 (\u003c= 2.2.2) and can lead to arbitrary code being executed when these commands are used on a well-crafted yaml specification.","aliases":["GHSA-q7pf-qr96-2vq5"],"modified":"2026-07-08T05:49:51.252699355Z","published":"2017-11-17T02:29:01.050Z","database_specific":{"unresolved_ranges":[{"extracted_events":[{"last_affected":"2.2.2"}],"source":"CPE_RANGE","vendor_product":"swagger:swagger-codegen","cpes":["cpe:2.3:a:swagger:swagger-codegen:*:*:*:*:*:*:*:*"]},{"extracted_events":[{"last_affected":"1.0.30"}],"source":"CPE_RANGE","vendor_product":"swagger:swagger-parser","cpes":["cpe:2.3:a:swagger:swagger-parser:*:*:*:*:*:*:*:*"]}]},"references":[{"type":"ADVISORY","url":"https://github.com/swagger-api/swagger-parser/releases/tag/v1.0.31"},{"type":"ADVISORY","url":"https://lgtm.com/blog/swagger_snakeyaml_CVE-2017-1000207_CVE-2017-1000208"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/swagger-api/swagger-parser","events":[{"introduced":"0"},{"fixed":"67a2226436627c7c6de924de792b6b2ed09faa46"}],"database_specific":{"source":"REFERENCES"}}],"versions":["v1.0.29","v1.0.27","v1.0.26","v1.0.25","v1.0.24","v1.0.23","v1.0.22","v1.0.21","v1.0.20","v1.0.19","v1.0.18","v1.0.17","v1.0.16","v1.0.15","v1.0.14","v1.0.13","v1.0.12","v1.0.11","v1.0.10","v1.0.9","v1.0.8","v1.0.6","v1.0.5","v1.0.3","v1.0.2","v1.0.1","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-1000208.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}