Arbitrary Code Execution Affecting io.swagger:swagger-parser package, versions [,1.0.31)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.14% (51st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-IOSWAGGER-31589
  • published28 Nov 2017
  • disclosed13 Jul 2017
  • creditUnknown

Introduced: 13 Jul 2017

CVE-2017-1000207  (opens in a new tab)
CVE-2017-1000208  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade io.swagger:swagger-parser to version 1.0.31 or higher.

Overview

io.swagger:swagger-parser is a simple yet powerful representation of your RESTful API.

Affected versions of this package are vulnerable to Arbitrary Code Execution via the yaml parsing functionality. When a maliciously crafted yaml Open-API specification is parsed, it is possible to execute arbitrary code on the hosting server.

CVSS Scores

version 3.1