Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Rswag Project | Rswag | < 2.10.1 |
Related Weaknesses (CWE)
References
- https://github.com/rswag/rswag/compare/2.9.0...2.10.1Patch
- https://github.com/rswag/rswag/issues/653Issue TrackingPatch
- https://github.com/rswag/rswag/compare/2.9.0...2.10.1Patch
- https://github.com/rswag/rswag/issues/653Issue TrackingPatch
FAQ
What is CVE-2023-38337?
CVE-2023-38337 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 o...
How severe is CVE-2023-38337?
CVE-2023-38337 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2023-38337?
Check the references section above for vendor advisories and patch information. Affected products include: Rswag Project Rswag.