CVE-2017-1000208
HIGH8.8EPSS 0.46%Deserialization of Untrusted Data in swagger-parser
Published: 10/19/2018Modified: 11/8/2023
Description
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.
Affected packages (2)
- Maven/io.swagger:swagger-codegenfrom 0, < 2.2.2
- Maven/io.swagger:swagger-parserfrom 0, < 1.0.31
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
References (5)
- ADVISORYhttps://github.com/advisories/GHSA-q7pf-qr96-2vq5
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2017-1000208
- PATCHhttps://github.com/swagger-api/swagger-parser
- WEBhttps://github.com/swagger-api/swagger-parser/releases/tag/v1.0.31
- WEBhttps://lgtm.com/blog/swagger_snakeyaml_CVE-2017-1000207_CVE-2017-1000208