CVE-2017-1000207: A vulnerability in Swagger-Parser's version <= 1.0.30 and Swagger codegen version <= 2.2.2 yaml parsing functi
CVE-2017-1000207 is a high-severity flaw (CVSS 8.8) affecting swagger-codegen, swagger-parser. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.8 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 1.6% (top 24%) |
| CISA exploited list | No |
| Weakness | CWE-502 |
| Published | 2017-11-27 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2017-1000207?
swagger-codegen: upgrade to newer than 2.2.2; swagger-parser: upgrade to newer than 1.0.30. Exact commands for each OS are on this page.
Is CVE-2017-1000207 being exploited?
CVE-2017-1000207 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2017-1000207 affect?
CVE-2017-1000207 affects swagger-codegen, swagger-parser. Severity is high (CVSS 8.8). 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 particu
How urgent is CVE-2017-1000207?
Priority 50/100. High severity
Related CVEs
- CVE-2021-21364 MEDIUM 5.3 UPGRADE swagger-codegen is an open-source project which contains a template-driven engine to generate documentation, A
- CVE-2021-21363 MEDIUM 5.3 UPGRADE swagger-codegen is an open-source project which contains a template-driven engine to generate documentation, A
- CVE-2017-1000208 HIGH 8.8 UPGRADE UPGRADE A vulnerability in Swagger-Parser's (version <= 1.0.30) yaml parsing functionality results in arbitrary code b