GHSA-q7pf-qr96-2vq5

Suggest an improvement
Source
https://github.com/advisories/GHSA-q7pf-qr96-2vq5
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/10/GHSA-q7pf-qr96-2vq5/GHSA-q7pf-qr96-2vq5.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-q7pf-qr96-2vq5
Aliases
  • CVE-2017-1000208
Published
2018-10-19T16:46:41Z
Modified
2023-11-08T03:58:44.108818Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Deserialization of Untrusted Data in swagger-parser
Details

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.

Database specific
{
    "nvd_published_at": null,
    "github_reviewed_at": "2020-06-16T21:51:22Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-502"
    ]
}
References

Affected packages

Maven / io.swagger:swagger-codegen

Package

Name
io.swagger:swagger-codegen
View open source insights on deps.dev
Purl
pkg:maven/io.swagger/swagger-codegen

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.2.2

Affected versions

2.*

2.1.1
2.1.2
2.1.3
2.1.4
2.1.5
2.1.6
2.2.0
2.2.1

Maven / io.swagger:swagger-parser

Package

Name
io.swagger:swagger-parser
View open source insights on deps.dev
Purl
pkg:maven/io.swagger/swagger-parser

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.0.31

Affected versions

1.*

1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.0.10
1.0.11
1.0.12
1.0.13
1.0.14
1.0.15
1.0.16
1.0.17
1.0.18
1.0.19
1.0.20
1.0.21
1.0.22
1.0.23
1.0.24
1.0.25
1.0.26
1.0.27
1.0.28
1.0.29
1.0.30