CVE-2017-1000208
Deserialization of Untrusted Data in swagger-parser
8.8
HIGH
CVSS 3.1
EPSS 0.46%
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.
How to fix CVE-2017-1000208
To remediate CVE-2017-1000208, upgrade the affected package to a fixed version below.
- —upgrade to 2.2.2 or later
- —upgrade to 1.0.31 or later
Is CVE-2017-1000208 being exploited?
Low — EPSS is 0.5%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 2.2.2
- from 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 |