High severity7.5NVD Advisory· Published Jul 14, 2023· Updated Jun 17, 2026
CVE-2023-38337
CVE-2023-38337
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
rswagRubyGems | < 2.10.1 | 2.10.1 |
Affected products
2- rswag/rswagdescription
Patches
Vulnerability mechanics
References
5- github.com/rswag/rswag/compare/2.9.0...2.10.1nvdPatchWEB
- github.com/rswag/rswag/issues/653nvdIssue TrackingPatchWEB
- github.com/advisories/GHSA-vc79-65pr-q82vghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2023-38337ghsaADVISORY
- github.com/rubysec/ruby-advisory-db/blob/master/gems/rswag/CVE-2023-38337.ymlghsaWEB
News mentions
0No linked articles in our index yet.