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
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.016 (75.4th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 75th percentile — 75.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.016 · newest: 0.016 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- lgtm.com/blog/swagger_snakeyaml_CVE-2017-1000207_CVE-2017-1000208 (Third Party Advisory)
- github.com/swagger-api/swagger-parser/pull/481 (Issue Tracking)
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.