CVE-2017-1000207

HIGH

Swagger-Parser <=1.0.30 & Swagger Codegen <=2.2.2 - RCE

Title source: llm

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.

Exploits (2)

nomisec WORKING POC
by andikahilmy · poc
https://github.com/andikahilmy/CVE-2017-1000207-swagger-parser-vulnerable

Scores

CVSS v3 8.8
EPSS 0.0042
EPSS Percentile 61.8%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Classification

CWE
CWE-502
Status draft

Affected Products (4)

swagger/swagger-codegen < 2.2.2
swagger/swagger-parser < 1.0.30
io.swagger/swagger-parser < 1.0.31Maven
io.swagger/swagger-codegen < 2.2.2Maven

Timeline

Published Nov 27, 2017
Tracked Since Feb 18, 2026