GHSA-vgvf-9jh3-fg75

    Dashboard / Vulnerabilities / GHSA-vgvf-9jh3-fg75

    GHSA-vgvf-9jh3-fg75

    Published: 19 Oct 2018Last Modified: 8 Nov 2023

    Summary: Deserialization of Untrusted Data in swagger-codegen

    Details: 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.

    Affected packages

    Package

    Name: io.swagger:swagger-parser

    Purl: pkg:maven/io.swagger/swagger-parser

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -1.0.31

    Affected versions

    1.0.0
    1.0.1
    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.2
    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.3
    1.0.30
    1.0.4
    1.0.5
    1.0.6
    1.0.7
    1.0.8
    1.0.9

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-vgvf-9jh3-fg75 | CVE-DB