~ / search / GHSA-vc79-65pr-q82v

GHSA-vc79-65pr-q82v

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

Source: GitHub Advisory Database (reviewed) High CVE-2023-38337

Packages

EcosystemPackageAffectedFixed in
RubyGems rswag < 2.10.1 2.10.1

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.