Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-22207

5.3 · MEDIUM
Published Jan 15, 2024 smartbear CWE-1188 EPSS 2.29% (82th pctl)

Overview

CVE-2024-22207 is a medium-severity vulnerability affecting smartbear swagger_ui. It was published on January 15, 2024 and has a CVSS 3.1 base score of 5.3 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.3, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from smartbear. Update swagger_ui to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
smartbear swagger_ui >= 2.0.0, < 2.1.0 Affected

Frequently Asked Questions

What is CVE-2024-22207?

CVE-2024-22207 is a medium-severity vulnerability affecting smartbear swagger_ui. It was published on January 15, 2024 and has a CVSS 3.1 base score of 5.3 (MEDIUM).

How severe is CVE-2024-22207?

This vulnerability has a CVSS 3.1 base score of 5.3, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2024-22207?

Check the references section for vendor advisories and patches from smartbear. Update swagger_ui to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-22207?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-22207 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.