Overview
- 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.
- Source
- cve@mitre.org
- NVD status
- Analyzed
Risk scores
CVSS 3.0
- Type
- Primary
- Base score
- 8.8
- Impact score
- 5.9
- Exploitability score
- 2.8
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Severity
- HIGH
CVSS 2.0
- Type
- Primary
- Base score
- 6.8
- Impact score
- 6.4
- Exploitability score
- 8.6
- Vector string
- AV:N/AC:M/Au:N/C:P/I:P/A:P
Weaknesses
- nvd@nist.gov
- CWE-502
Social media
- Hype score
- Not currently trending
Configurations
[ { "nodes": [ { "negate": false, "cpeMatch": [ { "criteria": "cpe:2.3:a:swagger:swagger-codegen:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "19533E03-1A1C-4341-850D-1B521E22A1FE", "versionEndIncluding": "2.2.2" }, { "criteria": "cpe:2.3:a:swagger:swagger-parser:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "20F013ED-574E-4E3D-9320-386127494259", "versionEndIncluding": "1.0.30" } ], "operator": "OR" } ] } ]