GHSA-q7pf-qr96-2vq5
Dashboard / Vulnerabilities / GHSA-q7pf-qr96-2vq5
Summary: Deserialization of Untrusted Data in swagger-parser
Details: 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.
References: https://nvd.nist.gov/vuln/detail/CVE-2017-1000208, https://github.com/advisories/GHSA-q7pf-qr96-2vq5, https://github.com/swagger-api/swagger-parser, https://github.com/swagger-api/swagger-parser/releases/tag/v1.0.31, https://lgtm.com/blog/swagger_snakeyaml_CVE-2017-1000207_CVE-2017-1000208
Affected packages
Package
Name: io.swagger:swagger-codegen
Purl: pkg:maven/io.swagger/swagger-codegen
Affected ranges
Type: ECOSYSTEM
Events:
