Lucene search

K
githubGitHub Advisory DatabaseGHSA-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
CWE-22
GitHub Advisory Database
github.com
8
rswag
arbitrary file read
json
yaml
directory traversal
security vulnerability

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.

Affected configurations

Vulners
Node
rswag_projectrswagRange<2.10.1
VendorProductVersionCPE
rswag_projectrswag*cpe:2.3:a:rswag_project:rswag:*:*:*:*:*:*:*:*

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 GHSA-VC79-65PR-Q82V