GHSA-vc79-65pr-q82v

    Dashboard / Vulnerabilities / GHSA-vc79-65pr-q82v

    GHSA-vc79-65pr-q82v

    Published: 15 Jul 2023Last Modified: 16 Feb 2024

    Summary: rswag vulnerable to arbitrary JSON and YAML file read via directory traversal

    Details: rswag before 2.10.1 allows remote attackers to read arbitrary JSON and YAML files via directory traversal, because rswag-api can expose a file that is not the OpenAPI (or Swagger) specification file of a project.

    Affected packages

    Package

    Name: rswag

    Purl: pkg:gem/rswag

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -2.10.1

    Affected versions

    1.0.0
    1.0.1
    1.0.2
    1.0.3

    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-vc79-65pr-q82v | CVE-DB