GHSA-q7pf-qr96-2vq5HighCVSS 8.8

Deserialization of Untrusted Data in swagger-parser

Published
October 19, 2018
Last Modified
January 9, 2023

🔗 CVE IDs covered (1)

📋 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 products2

  • maven/io.swagger:swagger-codegen:< 2.2.2
  • maven/io.swagger:swagger-parser:< 1.0.31

🔗 References (4)