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
21 Nov 2024, 08:13
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/rswag/rswag/compare/2.9.0...2.10.1 - Patch | |
| References | () https://github.com/rswag/rswag/issues/653 - Issue Tracking, Patch |
27 Jul 2023, 03:23
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.5 |
| CWE | CWE-22 | |
| CPE | cpe:2.3:a:rswag_project:rswag:*:*:*:*:*:*:*:* | |
| References | (MISC) https://github.com/rswag/rswag/issues/653 - Issue Tracking, Patch | |
| References | (MISC) https://github.com/rswag/rswag/compare/2.9.0...2.10.1 - Patch |
14 Jul 2023, 22:15
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
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')
