What’s Vulnerable › Vulnerabilities
CVE-2023-38337
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-07-14 · updated 2026-06-17
- Weakness: CWE-22
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
- Rswag Project Rswag: before 2.10.1 — fixed in 2.10.1
How to fix
Upgrade to a fixed version: Rswag Project Rswag 2.10.1. Check the vendor advisory for mitigations.
References
- https://github.com/rswag/rswag/compare/2.9.0...2.10.1
- https://github.com/rswag/rswag/issues/653
- https://github.com/rswag/rswag/compare/2.9.0...2.10.1
- https://github.com/rswag/rswag/issues/653
Get alerted when CVE-2023-38337 or the next vulnerability affects your stack