CVE-2023-38337Published Jul 14, 2023 · Jul 14Updated Oct 28
rswag vulnerable to arbitrary JSON and YAML file read via directory traversal
High7.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| rswag RubyGems |
|
|
Original 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.
From the CVE record · mitre