All reports
High

Deserialization of Untrusted Data in swagger-parser

Affected versions

Affected versions
< 2.2.2
Fixed version
2.2.2
Affected versions
< 1.0.31
Fixed version
1.0.31

Exploitation

CVE-2017-1000208

Probability of exploitation in the next 30 days: 1.71%

FIRST EPSS · 2026-11-24

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.

Links