cve.bz

CVE-2023-38337

7.5 highEPSS 1.3%

High (7.5) in rswag project rswag. EPSS 1.3% chance of exploitation in the next 30 days. Fixed in rswag 2.10.1.

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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
1.3% chance of exploitation in the next 30 days; higher than 69% of CVEs (scores of 2026-10-31)
CWE
CWE-22
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-vc79-65pr-q82vRubyGemsrswag<2.10.12.10.1

References

Check your stackJSON