WaratekVRT Sign in

CVE-2017-1000207

Affected software2 products, listed below
Severity8.8 High CVSS 3.0 2 scores
Fixed in1.0.31
WeaknessDeserialization of untrusted data (CWE-502)
Published27 Nov 2017
Updated17 Jun 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 8 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 1.6% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR deserialization security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-502: Deserialization of Untrusted Data.
Candidate fix https://github.com/swagger-api/swagger-parser/pull/481 : a pull request: the change under review

How to mitigate CVE-2017-1000207

Upgrade the affected software to 1.0.31 or later. Until you can, Waratek RASP blocks exploitation with its deserialization and process rules. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

8.8 HIGH v3.0 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.0 8.8 HIGH CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H NVD Primary published
CVSS 2.0 6.8 none AV:N/AC:M/Au:N/C:P/I:P/A:P NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
io.swagger:swagger-parser 0 1.0.31 unbounded
io.swagger:swagger-codegen 0 2.2.2 unbounded

Products and versions

4 products, 4 version entries
SourceVendorProductSchemeAffected versions
osv io.swagger swagger-codegen generic < 2.2.2
osv io.swagger swagger-parser generic < 1.0.31
nvd swagger swagger-codegen generic ≤ 2.2.2
nvd swagger swagger-parser generic ≤ 1.0.30

References

URLTags
https://github.com/swagger-api/swagger-parser/pull/481 pr
https://github.com/advisories/GHSA-vgvf-9jh3-fg75 ADVISORY
https://github.com/swagger-api/swagger-parser PACKAGE
https://lgtm.com/blog/swagger_snakeyaml_CVE-2017-1000207_CVE-2017-1000208 WEB

Timeline

Published2017-11-27By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.