rswag before 2.10.1 allows remote attackers to read arbitrary JSON and YAML files via…
Priority MEDIUM 41CWE-22Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-22 and the CVSS impact.
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.
Why it matters now
Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01271 69th percentileScored 2026-11-07
Fix Fixed rswag (RubyGems): 2.10.1
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | rswag (RubyGems) | before 2.10.1 | 2.10.1 | Patch available | GHSA-vc79-65pr-q82v |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- rswag (RubyGems) Vendor— Affected before 2.10.1 Fixed in 2.10.1 Patch available GHSA-vc79-65pr-q82v
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:rswag_project:rswag:*:*:*:*:*:*:*:* | before 2.10.1 | Vulnerable | Rswag Project |
- cpe:2.3:a:rswag_project:rswag:*:*:*:*:*:*:*:* Versions before 2.10.1 Vulnerable ·Rswag Project
Remediation
- Fix · GHSA-vc79-65pr-q82v rswag (RubyGems) Fixed in 2.10.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2023-38337
- 2026-10-03 Alias added: GHSA-vc79-65pr-q82v
References
Sources
- CVE-2023-38337 · CVE Program
- CVE-2023-38337 · NVD
- FIRST EPSS
- GHSA-vc79-65pr-q82v · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences