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.
References
Link | Resource |
---|---|
https://github.com/rswag/rswag/compare/2.9.0...2.10.1 | Patch |
https://github.com/rswag/rswag/issues/653 | Issue Tracking Patch |
https://github.com/rswag/rswag/compare/2.9.0...2.10.1 | Patch |
https://github.com/rswag/rswag/issues/653 | Issue Tracking Patch |
Configurations
History
No history.
Information
Published : 2023-07-14 22:15
Updated : 2024-11-21 08:13
NVD link : CVE-2023-38337
Mitre link : CVE-2023-38337
CVE.ORG link : CVE-2023-38337
JSON object : View
Products Affected
rswag_project
- rswag
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')