{"id":"CVE-2017-1000208","published":"2017-11-17T02:00:00Z","modified":"2024-08-05T21:53:07Z","title":"A vulnerability in Swagger-Parser's (version <= 1.0.30) yaml parsing functionality results in arbitrary code being…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01705,"percentile":0.77846,"provenance":"source"},"cwes":[],"references":[{"url":"https://lgtm.com/blog/swagger_snakeyaml_CVE-2017-1000207_CVE-2017-1000208","tags":["x_refsource_MISC"]},{"url":"https://github.com/swagger-api/swagger-parser/releases/tag/v1.0.31","tags":["x_refsource_CONFIRM"]}],"priority":{"score":15.6,"factors":[{"name":"EPSS percentile","points":15.57}]},"affected":[{"ecosystem":"Maven","package":"io.swagger:swagger-codegen","vulnerableRanges":["<2.2.2"],"patched":["2.2.2"],"from":["GHSA-q7pf-qr96-2vq5"],"provenance":"source"},{"ecosystem":"Maven","package":"io.swagger:swagger-parser","vulnerableRanges":["<1.0.31"],"patched":["1.0.31"],"from":["GHSA-q7pf-qr96-2vq5"],"provenance":"source"}],"summary":{"text":"Swagger-Parser versions up to and including 1.0.30 contain a flaw in their YAML parsing functionality, which also affects the 'generate' and 'validate' commands in swagger-codegen up to and including 2.2.2. An attacker who supplies a maliciously crafted YAML OpenAPI specification that is parsed by these components can execute arbitrary code, and with swagger-codegen this occurs when the 'generate' or 'validate' command is run against that specification.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:41:16Z"},"euvd":{"id":"EUVD-2018-0659","exploited":false,"provenance":"source"}}