CVE-2017-1000207

HIGH

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

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2017-1000207. PoCs published by dawetmaster, andikahilmy.

AI-analyzed exploit summary This repository contains the source code of the Swagger Parser project, which is vulnerable to CVE-2017-1000207, but does not include an exploit PoC or technical analysis. It appears to be a snapshot of the vulnerable codebase without additional exploit-related content.

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 STUB
by dawetmaster · poc
https://github.com/dawetmaster/CVE-2017-1000207-swagger-parser-vulnerable

This repository contains the source code of the Swagger Parser project, which is vulnerable to CVE-2017-1000207, but does not include an exploit PoC or technical analysis. It appears to be a snapshot of the vulnerable codebase without additional exploit-related content.

Classification
Stub 90%
Attack Type
Other
Complexity
Trivial
Reliability
Theoretical
Target: Swagger Parser (versions before fix for CVE-2017-1000207)
No auth needed
Prerequisites: Vulnerable version of Swagger Parser
devstral-2 · analyzed Mar 14, 2026 Full analysis →
nomisec WORKING POC
by andikahilmy · poc
https://github.com/andikahilmy/CVE-2017-1000207-swagger-parser-vulnerable

This repository contains a vulnerable version of the Swagger Parser library, specifically targeting CVE-2017-1000207. The code includes the necessary Java classes and configurations to demonstrate the vulnerability, which involves deserialization issues in the Swagger Parser.

Classification
Working Poc 90%
Attack Type
Deserialization
Complexity
Moderate
Reliability
Reliable
Target: Swagger Parser 1.0.24
No auth needed
Prerequisites: Java 1.7 or later · Apache Maven 3.0.3 or greater
devstral-2 · analyzed Feb 18, 2026 Full analysis →

References (2)

Core 2
Core References
Issue Tracking x_refsource_confirm
https://github.com/swagger-api/swagger-parser/pull/481

Scores

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

Details

CWE
CWE-502
Status published
Products (4)
io.swagger/swagger-codegen 0 - 2.2.2Maven
io.swagger/swagger-parser 0 - 1.0.31Maven
swagger/swagger-codegen < 2.2.2
swagger/swagger-parser < 1.0.30
Published Nov 27, 2017
Tracked Since Feb 18, 2026