{"id":"EUVD-2024-0266","enisaUuid":"4924fc41-774d-34d5-970d-74ab1084775e","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\u0027s 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.","datePublished":"Jan 15, 2024, 3:40:35 PM","dateUpdated":"Jun 17, 2025, 2:34:45 PM","baseScore":5.3,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","references":"https://github.com/fastify/fastify-swagger-ui/security/advisories/GHSA-62jr-84gf-wmg4\nhttps://github.com/fastify/fastify-swagger-ui/commit/13d799a2c5f14d3dd5b15892e03bbcbae63ee6f7\nhttps://security.netapp.com/advisory/ntap-20240216-0002/\n","aliases":"CVE-2024-22207\nGHSA-62jr-84gf-wmg4\n","assigner":"GitHub_M","epss":2.29,"enisaIdProduct":[{"id":"59dea1c1-1b76-37f2-a6b4-53db7ce1fbbe","product":{"name":"fastify-swagger-ui","vendor":{"name":"fastify"}},"product_version":"\u003c 2.1.0"}],"enisaIdVendor":[{"id":"30d794bf-d1d2-3501-9173-e0342c5cad10","vendor":{"name":"fastify"}}],"enisaIdVulnerability":[{"id":"19cdac83-fe17-3a11-9611-b052ee834bc9","vulnerability":{"id":"GHSA-62jr-84gf-wmg4","description":"Default swagger-ui configuration exposes all files in the module","datePublished":"Jan 16, 2024, 3:24:41 PM","dateUpdated":"Feb 16, 2024, 3:30:26 PM","baseScore":null,"references":"https://github.com/fastify/fastify-swagger-ui/security/advisories/GHSA-62jr-84gf-wmg4\nhttps://nvd.nist.gov/vuln/detail/CVE-2024-22207\nhttps://github.com/fastify/fastify-swagger-ui/commit/13d799a2c5f14d3dd5b15892e03bbcbae63ee6f7\nhttps://github.com/fastify/fastify-swagger-ui\nhttps://security.netapp.com/advisory/ntap-20240216-0002\n","enisa_id":"EUVD-2024-0266\n","aliases":"CVE-2024-22207\nGHSA-62jr-84gf-wmg4\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:35:19 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"23cceb45-3775-3a42-a0b2-e47422685a43","vulnerability":{"id":"CVE-2024-22207","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\u0027s 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.","datePublished":"Jan 15, 2024, 3:40:35 PM","dateUpdated":"Jun 17, 2025, 2:34:45 PM","status":"PUBLISHED","baseScore":5.3,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","references":"https://github.com/fastify/fastify-swagger-ui/security/advisories/GHSA-62jr-84gf-wmg4\nhttps://github.com/fastify/fastify-swagger-ui/commit/13d799a2c5f14d3dd5b15892e03bbcbae63ee6f7\nhttps://security.netapp.com/advisory/ntap-20240216-0002/\n","enisa_id":"EUVD-2024-0266\n","assigner":"GitHub_M","epss":2.29,"dataProcessed":"Nov 15, 2026, 1:36:27 AM","vulnerabilityProduct":[{"id":"4885a896-7b1f-3327-9fbe-12f65d9dd32e","product":{"name":"fastify-swagger-ui","vendor":{"name":"fastify"}},"product_version":"\u003c 2.1.0"}],"vulnerabilityVendor":[{"id":"4968a130-1bf6-3d46-ba4e-6f609124c9e6","vendor":{"name":"fastify"}}]}}],"enisaIdAdvisory":[]}