{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2023-38337","published":"2023-07-14T22:15:09.430000Z","last_modified":"2026-06-17T06:09:56.760000Z","status":"Modified","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-22"],"cpes":[{"criteria":"cpe:2.3:a:rswag_project:rswag:*:*:*:*:*:*:*:*","part":"a","vendor":"rswag_project","product":"rswag","version_end_excluding":"2.10.1"}],"cpes_truncated":false,"vendors":["rswag_project"],"products":["rswag_project/rswag"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial"},"epss":{"score":0.01353,"percentile":0.7174,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-vc79-65pr-q82v","ecosystem":"RubyGems","name":"rswag","purl":"pkg:gem/rswag","ranges":[{"introduced":"0","fixed":"2.10.1"}],"versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.1.0","1.2.0","1.2.1","1.3.0","1.4.0","1.5.0","1.5.1","1.5.2","1.6.0","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.1.1","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.5.1.rc1","2.6.0","2.7.0","2.8.0","2.9.0"],"versions_truncated":false}],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2023-38337/","html_en":"/en/cve/CVE-2023-38337/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-38337","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-38337"},"untrusted":{"vendor_name":"Rswag Project","product_name":"Rswag","desc_en":"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.","affected":[],"references":[{"url":"https://github.com/rswag/rswag/compare/2.9.0...2.10.1","tags":["Patch"]},{"url":"https://github.com/rswag/rswag/issues/653","tags":["Issue Tracking","Patch"]}]}}