Security mailing lists by PureSourceCode

CVE-2017-1000208

HIGH 8.8CVSS 3.0

Deserialization of Untrusted Data in swagger-parser

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.

Published
17 Nov 2017
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-502
Also known as
GHSA-q7pf-qr96-2vq5
Sources
NVDJSONOSV GHSA-q7pf-qr96-2vq5JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.0 HIGH 8.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.0 HIGH 8.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD swagger swagger-codegen
cpe:2.3:a:swagger:swagger-codegen:*:*:*:*:*:*:*:*
<= 2.2.2
NVD swagger swagger-parser
cpe:2.3:a:swagger:swagger-parser:*:*:*:*:*:*:*:*
<= 1.0.30
OSV Maven io.swagger:swagger-codegen < 2.2.2 2.2.2
OSV Maven io.swagger:swagger-parser < 1.0.31 1.0.31

References

History

  • 25 Nov 2026 20:20 UTC · NVD: first stored (published 17 Nov 2017)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 19 Oct 2018)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.