What’s Vulnerable › Vulnerabilities
CVE-2017-1000207
- Severity: high (CVSS 8.8 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2017-11-27 · updated 2026-06-17
- Weakness: CWE-502
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.
Affected products
- Swagger-Codegen: through 2.2.2
- Swagger-Parser: through 1.0.30
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
Get alerted when CVE-2017-1000207 or the next vulnerability affects your stack