CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2024 · Smartbear

CVE-2024-22207
Smartbear Swagger Ui vulnerability

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

Swagger Ui. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Smartbear Swagger Ui runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Smartbear products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.