HIGH 8.8 Maven
Deserialization of Untrusted Data in swagger-codegen
GHSA-vgvf-9jh3-fg75 · CVE-2017-1000207
Published · Modified
Description
A vulnerability in Swagger-Parser's version <= 1.0.30 and Swagger codegen version <= 2.2.2 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
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2017-1000207
- WEB https://github.com/swagger-api/swagger-parser/pull/481
- ADVISORY https://github.com/advisories/GHSA-vgvf-9jh3-fg75
- PACKAGE https://github.com/swagger-api/swagger-parser
- WEB https://lgtm.com/blog/swagger_snakeyaml_CVE-2017-1000207_CVE-2017-1000208
Ready to move
Start Securing
Free, no credit card | First findings in minutes