7.5
HIGH CVSS 3.1
CVE-2023-38337
Rswag Directory Traversal Remote File Disclosure
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.

INFO

Published Date :

July 14, 2023, 10:15 p.m.

Last Modified :

Nov. 21, 2024, 8:13 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2023-38337 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Rswag_project rswag
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
Public PoC/Exploit Available at Github

CVE-2023-38337 has a 2 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2023-38337.

URL Resource
https://github.com/rswag/rswag/compare/2.9.0...2.10.1 Patch
https://github.com/rswag/rswag/issues/653 Issue Tracking Patch
https://github.com/rswag/rswag/compare/2.9.0...2.10.1 Patch
https://github.com/rswag/rswag/issues/653 Issue Tracking Patch
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-38337 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

HTML Handlebars Shell C C++ Go Java JavaScript PHP Python

Updated: 3 weeks, 3 days ago
0 stars 0 fork 0 watcher
Born at : May 16, 2026, 3:57 a.m. This repo has been linked 33 different CVEs too.

Multi-language static analysis with cross-file taint tracking. Scan your repo, triage findings in your browser, commit triage state with your code. No cloud, no account.

ast-analysis cli-tool code-analysis code-security developer-tools multi-language rust sast security-scanner security-tools static-analysis tree-sitter vulnerability-scanner code-quality rust-cli security-automation security-scanning sqlite static-code-analysis vulnerability-detection

Rust Handlebars C C++ Go Java JavaScript PHP Python Ruby

Updated: 4 days, 5 hours ago
35 stars 4 fork 4 watcher
Born at : June 16, 2025, 2:47 p.m. This repo has been linked 33 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-38337 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-38337 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/rswag/rswag/compare/2.9.0...2.10.1
    Added Reference https://github.com/rswag/rswag/issues/653
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Jul. 27, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    Changed Reference Type https://github.com/rswag/rswag/compare/2.9.0...2.10.1 No Types Assigned https://github.com/rswag/rswag/compare/2.9.0...2.10.1 Patch
    Changed Reference Type https://github.com/rswag/rswag/issues/653 No Types Assigned https://github.com/rswag/rswag/issues/653 Issue Tracking, Patch
    Added CWE NIST CWE-22
    Added CPE Configuration OR *cpe:2.3:a:rswag_project:rswag:*:*:*:*:*:*:*:* versions up to (excluding) 2.10.1
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.