{"cve":"CVE-2017-1000207","nvd":{"published":"2017-11-27T15:29:00.303","modified":"2026-06-17T00:58:54.510","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-502"],"references":["https://github.com/swagger-api/swagger-parser/pull/481","https://lgtm.com/blog/swagger_snakeyaml_CVE-2017-1000207_CVE-2017-1000208","https://github.com/swagger-api/swagger-parser/pull/481","https://lgtm.com/blog/swagger_snakeyaml_CVE-2017-1000207_CVE-2017-1000208"],"products":["swagger:swagger-codegen","swagger:swagger-parser"],"source":"nvd","synced_at":"2026-10-19T20:47:01.408438353+00:00"},"epss":{"cve":"CVE-2017-1000207","score":0.01623,"percentile":0.7611,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-vgvf-9jh3-fg75","url":"https://osv.dev/vulnerability/GHSA-vgvf-9jh3-fg75","summary":"Deserialization of Untrusted Data in swagger-codegen","modified":"2023-11-08T03:58:44.046299Z","packages":[{"ecosystem":"Maven","name":"io.swagger:swagger-parser","purl":"pkg:maven/io.swagger/swagger-parser","ranges":["<1.0.31"],"fixed":["1.0.31"]},{"ecosystem":"Maven","name":"io.swagger:swagger-codegen","purl":"pkg:maven/io.swagger/swagger-codegen","ranges":["<2.2.2"],"fixed":["2.2.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}