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


0.0
high
  • Attack Complexity

    Low

  • User Interaction

    Required

  • Confidentiality

    High

  • Integrity

    High

  • Availability

    High

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-id

    SNYK-JAVA-IOSWAGGER-31589

  • published

    28 Nov 2017

  • disclosed

    13 Jul 2017

  • credit

    Unknown

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.