Skip to content
OpenAdvisories
High · 8.8 CVE-2017-1000208 EUVD-2018-0659GHSA-q7pf-qr96-2vq5

Deserialization of Untrusted Data in swagger-parser

Published Nov 17, 2017 · Updated Aug 5, 2024 · Assigned by mitre

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

EcosystemPackageAffectedFixedRecord
Maven io.swagger:swagger-codegen < 2.2.2 2.2.2 GHSA-q7pf-qr96-2vq5
Maven io.swagger:swagger-parser < 1.0.31 1.0.31 GHSA-q7pf-qr96-2vq5

Advisories 1

References