What’s Vulnerable › Vulnerabilities

CVE-2023-38337

Description

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 products

How to fix

Upgrade to a fixed version: Rswag Project Rswag 2.10.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-38337 or the next vulnerability affects your stack