CVEvulnerability

CVE-2017-1000208

8.8 HIGH Published 2017-11-17 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2017-11-17
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.0 ([email protected])
8.8 HIGH — CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P
Weaknesses
CWE-502

Description

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.

Affected configurations

• swagger swagger-codegen (<= 2.2.2) • swagger swagger-parser (<= 1.0.30)

Related

Weakness · CWE (1)

  • CWE-502 Deserialization of Untrusted Data weakness

References