Deserialization in Swagger Swagger-Codegen

CVE-2017-1000207

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.

Vulnerability class: Insecure Deserialization

EPSS: 0.016 (73.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2017-1000207?
CVE-2017-1000207 is a high-severity vulnerability in Swagger Swagger-Codegen, classified under Deserialization of Untrusted Data. CVSS score: 8.8/10. Published 2017-11-27.
How severe is CVE-2017-1000207?
High severity. CVSS v3 base score is 8.8 out of 10.
Is CVE-2017-1000207 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.