CVE Catalog

CVE-2023-38337

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
0.96%

57th percentile - higher than 57% of all known CVEs

Summary

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.

Risk Assessment

Attackers may gain access to sensitive data stored in JSON and YAML files, potentially leading to information disclosure and security breaches in the application.

Recommendation

It is recommended to upgrade rswag to version 2.10.1 or later to mitigate the risk associated with this vulnerability.

Related vulnerabilities

Original NVD description (English source)

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 data from NVD (NIST) · CISA KEV · EPSS