Vulnerability

CVE-2024-22207

mediumCVSS 3.1 5.3Published 15 Jan 2024

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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 products

From the NVD's configuration data (CPE), vendor first.

  • Smartbear swagger ui

Weakness type

References

  • github.com /fastify/fastify-swagger-ui/commit/13d799a2c5f14d3dd5b15892…
  • github.com /fastify/fastify-swagger-ui/security/advisories/GHSA-62jr-8…
  • security.netapp.com /advisory/ntap-20240216-0002/

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning