# CVE-2017-1000208: Deserialization of Untrusted Data in swagger-parser

Source: https://junglewise.ai/threats/cve-2017-1000208-deserialization-of-untrusted-data-in-swagger-parser  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2018-10-19  
License: CC BY 4.0 with a link back

CVE-2017-1000208 · Severity: low · CVSS 3 · Published 2018-10-19

Deserialization of Untrusted Data in swagger-parser

Technologies: [io.swagger:swagger-codegen (Maven)](https://junglewise.ai/threats/technologies/io-swagger-swagger-codegen). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2017-1000208 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2017-1000208 being exploited in the wild.

**How severe is CVE-2017-1000208?** Low severity, with a CVSS score of 3, published 19 October 2018.

**Which products and versions are affected?** io.swagger:swagger-codegen (Maven) ECOSYSTEM:introduced=0,fixed=2.2.2; io.swagger:swagger-parser (Maven) ECOSYSTEM:introduced=0,fixed=1.0.31.

**Is there a fix for CVE-2017-1000208?** Yes. io.swagger:swagger-codegen (Maven): upgrade to 2.2.2 or later; io.swagger:swagger-parser (Maven): upgrade to 1.0.31 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2017-1000208?** Check whether you run io.swagger:swagger-codegen (Maven) or io.swagger:swagger-parser (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- io.swagger:swagger-codegen (Maven): upgrade to 2.2.2 or later

  ```sh
  # set io.swagger:swagger-codegen to 2.2.2 in your pom.xml or build.gradle
  ```

- io.swagger:swagger-parser (Maven): upgrade to 1.0.31 or later

  ```sh
  # set io.swagger:swagger-parser to 1.0.31 in your pom.xml or build.gradle
  ```


## Affected products

- io.swagger:swagger-codegen (Maven) ECOSYSTEM:introduced=0,fixed=2.2.2
- io.swagger:swagger-parser (Maven) ECOSYSTEM:introduced=0,fixed=1.0.31

## Identifiers

- CVE-2017-1000208
- GHSA-q7pf-qr96-2vq5

## Related threats

- [Generated Code Contains Local Information Disclosure Vulnerability](https://junglewise.ai/threats/cve-2021-21364-generated-code-contains-local-information-disclosure)
- [Generator Web Application: Local Privilege Escalation Vulnerability via System Temp Directory](https://junglewise.ai/threats/cve-2021-21363-generator-web-application-local-privilege-escalation)
- [Deserialization of Untrusted Data in swagger-codegen](https://junglewise.ai/threats/cve-2017-1000207-deserialization-of-untrusted-data-in-swagger-codegen)
