CVE-2017-1000208

High

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.

SeverityHigh
CVSS8.8
Exploit probability—
ProductSwagger-codegen
PublishedNov 17, 2017
First seenNov 17, 2017

How to fix

Update
  • io.swagger:swagger-codegen2.2.2 or later
  • io.swagger:swagger-parser1.0.31 or later

Affected products

ProductAffected versionsFixed in
swagger swagger-codegenv ≤ 2.2.2—
swagger swagger-parserv ≤ 1.0.30—
io.swagger:swagger-codegenMavenv < 2.2.22.2.2
io.swagger:swagger-parserMavenv < 1.0.311.0.31

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.