{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-22207","published":"2024-01-15T16:15:13.437000Z","last_modified":"2026-06-17T07:10:56.700000Z","status":"Modified","cvss":{"version":"3.1","score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-1188"],"cpes":[{"criteria":"cpe:2.3:a:smartbear:swagger_ui:*:*:*:*:*:node.js:*:*","part":"a","vendor":"smartbear","product":"swagger_ui","version_start_including":"2.0.0","version_end_excluding":"2.1.0"}],"cpes_truncated":false,"vendors":["smartbear"],"products":["smartbear/swagger_ui"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.03215,"percentile":0.88981,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-62jr-84gf-wmg4","ecosystem":"npm","name":"@fastify/swagger-ui","purl":"pkg:npm/%40fastify/swagger-ui","ranges":[{"introduced":"2.0.0","fixed":"2.1.0"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":47,"links":{"html_es":"/es/cve/CVE-2024-22207/","html_en":"/en/cve/CVE-2024-22207/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-22207","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-22207"},"untrusted":{"vendor_name":"Smartbear","product_name":"Swagger Ui","desc_en":"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":[{"untrusted_vendor":"fastify","untrusted_product":"fastify-swagger-ui","versions":[]}],"references":[{"url":"https://github.com/fastify/fastify-swagger-ui/commit/13d799a2c5f14d3dd5b15892e03bbcbae63ee6f7","tags":["Patch"]},{"url":"https://github.com/fastify/fastify-swagger-ui/security/advisories/GHSA-62jr-84gf-wmg4","tags":["Vendor Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20240216-0002/","tags":[]}]}}