CVE-2023-38337

Source
https://cve.org/CVERecord?id=CVE-2023-38337
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-38337.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-38337
Aliases
Published
2023-07-14T00:00:00Z
Modified
2026-07-15T01:49:12.460374603Z
Summary
[none]
Details

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.

Database specific
{
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/38xxx/CVE-2023-38337.json"
}
References

Affected packages

Git / github.com/rswag/rswag

Affected ranges

Type
GIT
Repo
https://github.com/rswag/rswag
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "source": [
        "DESCRIPTION",
        "CPE_RANGE"
    ],
    "cpe": "cpe:2.3:a:rswag_project:rswag:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "2.10.1"
        }
    ]
}

Affected versions

1.*
1.0.0-beta2
1.4.0
1.4.1
1.5.0
1.5.1
1.5.2
1.6.0
2.*
2.0.0
2.0.1
2.0.2
2.0.3
2.0.4
2.0.5
2.0.6
2.1.0
2.10.0
2.2.0
2.3.0
2.3.1
2.3.2
2.3.3
2.4.0
2.5.0
2.5.0.rc1
2.5.1
2.6.0
2.7.0
2.8.0
2.9.0
v1.*
v1.0.1
v1.0.2
v1.0.3
v1.1.0
v1.2.0
v1.2.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-38337.json"