PT-2023-26371 · Rswag · Rswag

Carlobeltrame

·

Publicado

2023-07-14

·

Atualizado

2023-08-15

·

CVE-2023-38337

CVSS v3.1

7.5

Alta

VetorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions rswag versions prior to 2.10.1
Description The issue allows remote attackers to read arbitrary JSON and YAML files via directory traversal. This occurs because rswag-api can expose a file that is not the OpenAPI (or Swagger) specification file of a project.
Recommendations For versions prior to 2.10.1, update to version 2.10.1 or later to resolve the issue. As a temporary workaround, consider restricting access to the rswag-api to minimize the risk of exploitation.

Exploit

Correção

Path traversal

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

CVE-2023-38337
GHSA-VC79-65PR-Q82V

Produtos afetados

Rswag