CVE-2024-22207
Last modified
CVE-2024-22207 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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. EPSS estimates a 2.00% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Smartbear | Swagger Ui | >= 2.0.0, < 2.1.0 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-22207?
How severe is CVE-2024-22207?
How do I fix CVE-2024-22207?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-22201Jetty is a Java based web server and servlet engine. An HTTP…7.5
- CVE-2024-22202phpMyFAQ is an open source FAQ web application for PHP 8.1+ …6.5
- CVE-2024-22203Whoogle Search is a self-hosted metasearch engine. In versio…9.8
- CVE-2024-22204Whoogle Search is a self-hosted metasearch engine. Versions …5.3
- CVE-2024-22205Whoogle Search is a self-hosted metasearch engine. In versio…9.8
- CVE-2024-22206Clerk helps developers build user management. Unauthorized a…9.8
- CVE-2024-22208phpMyFAQ is an Open Source FAQ web application for PHP 8.1+ …6.5
- CVE-2024-22209Open edX Platform is a service-oriented platform for authori…8.8
- CVE-2024-2221qdrant/qdrant is vulnerable to a path traversal and arbitrar…9.8
- CVE-2024-22211FreeRDP is a set of free and open source remote desktop prot…9.8
- CVE-2024-22212Nextcloud Global Site Selector is a tool which allows you to…9.8
- CVE-2024-22213Deck is a kanban style organization tool aimed at personal p…5.4
Are you affected by CVE-2024-22207?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
