CVE-2023-38337
HIGHrswag < 2.10.1 - Path Traversal and Arbitrary File Read via API Specification Endpoint
Title source: llmDescription
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 (2)
Core 2
Core References
Issue Tracking, Patch
https://github.com/rswag/rswag/issues/653
Scores
CVSS v3
7.5
EPSS
0.0024
EPSS Percentile
47.7%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-22
Status
published
Products (2)
rswag_project/rswag
< 2.10.1
rubygems/rswag
0 - 2.10.1RubyGems
Published
Jul 14, 2023
Tracked Since
Feb 18, 2026