CVE-2023-38337
High
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.
SeverityHigh
CVSS7.5
Exploit probability—
ProductRswag
PublishedJul 14, 2023
First seenJul 14, 2023
How to fix
Update
- rswag_project rswag2.10.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rswag_project rswag | v < 2.10.1 | 2.10.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.