Lucene search

K
cve[email protected]CVE-2024-22207
HistoryJan 15, 2024 - 4:15 p.m.

CVE-2024-22207

2024-01-1516:15:13
CWE-1188
web.nvd.nist.gov
14
fastify
swagger
ui
plugin
cve-2024-22207
vulnerability
nvd
basedir
option
security
fix

5.3 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

NONE

Availability Impact

NONE

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

5.1 Medium

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

20.7%

fastify-swagger-ui is a Fastify plugin for serving Swagger UI. Prior to 2.1.0, the default configuration of @fastify/swagger-ui without baseDir set will lead to all files in the module’s directory being exposed via http routes served by the module. The vulnerability is fixed in v2.1.0. Setting the baseDir option can also work around this vulnerability.

Affected configurations

Vulners
NVD
Node
fastifyfastifyRange<2.1.0
VendorProductVersionCPE
fastifyfastify*cpe:2.3:a:fastify:fastify:*:*:*:*:*:*:*:*

CNA Affected

[
  {
    "vendor": "fastify",
    "product": "fastify-swagger-ui",
    "versions": [
      {
        "version": "< 2.1.0",
        "status": "affected"
      }
    ]
  }
]

5.3 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

NONE

Availability Impact

NONE

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

5.1 Medium

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

20.7%

Related for CVE-2024-22207