Path Traversal in Rswag Project
CVE-2023-38337
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.013 (69.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 69th percentile — 69.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.013 · newest: 0.013 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/rswag/rswag/issues/653 (Patch, Issue Tracking)
- github.com/rswag/rswag/compare/2.9.0...2.10.1 (Patch)
Frequently asked questions
- What is CVE-2023-38337?
- CVE-2023-38337 is a high-severity vulnerability in Rswag Project, classified under Path Traversal. CVSS score: 7.5/10. Published 2023-07-14.
- How severe is CVE-2023-38337?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2023-38337 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.