cbcvebase.
CVE-2024-22207
published 2024-01-15

CVE-2024-22207: 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…

PriorityP337medium5.3CVSS 3.1
AVNACLPRNUINSUCLINAN
EXPLOIT
EPSS
2.00%
78.3th percentile
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

3 ranges
VendorProductVersion rangeFixed in
fastifyfastify-swagger-ui< 2.1.02.1.0
fastifyswagger-ui>= 2.0.0 < 2.1.02.1.0
smartbearswagger_ui>= 2.0.0 < 2.1.02.1.0
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.