Lucene search

K
osvGoogleOSV:GHSA-VC79-65PR-Q82V
HistoryJul 15, 2023 - 12:30 a.m.

rswag vulnerable to arbitrary JSON and YAML file read via directory traversal

2023-07-1500:30:34
Google
osv.dev
11
rswag
vulnerability
json
yaml
directory traversal
remote attackers
openapi
swagger
specification file
software

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

EPSS

0.002

Percentile

57.5%

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.

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

EPSS

0.002

Percentile

57.5%

Related for OSV:GHSA-VC79-65PR-Q82V