MTIby Motiontic
Colour theme
VulnerabilityCVE-2024-22207GHSA-62jr-84gf-wmg4

Default swagger-ui configuration exposes all files in the module

Not on CISA KEV
  • Overview

Summary

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

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CVE List Source: CVE Program (cve.org)
  • GitHub Advisory DB Source: GitHub Advisory Database (CC BY 4.0)
  • Nuclei templates Source: Nuclei templates