Open Redirect in Fastify Fastify-Static
CVE-2021-22964
A redirect vulnerability in the `fastify-static` module version >= 4.2.4 and < 4.4.1 allows remote attackers to redirect Mozilla Firefox users to arbitrary websites via a double slash `//` followed by a domain: `http://localhost:3000//a//youtube.com/%2e%2e%2f%2e%2e`.A DOS vulnerability is possible if the URL contains invalid characters `curl --path-as-is "http://localhost:3000//^/.."`The issue shows up on all the `fastify-static` applications that set `redirect: true` option. By default, it is `false`.
Vulnerability class: DoS (Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:H.
EPSS exploit prediction
EPSS: 0.010 (63.1th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 63rd percentile — 63.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.010 · newest: 0.010 · change: 0.000
Affected products
- Fastify Fastify-Static
- Https://github.com/fastify/fastify-Static — versions Affected >= v4.2.4, Fixed v4.4.1
Weakness classification (CWE)
References
- hackerone.com/reports/1361804 (Exploit, Patch, Third Party Advisory, Issue Tracking)
Frequently asked questions
- What is CVE-2021-22964?
- CVE-2021-22964 is a high-severity vulnerability in Fastify Fastify-Static, classified under Uncontrolled Resource Consumption. CVSS score: 8.8/10. Published 2021-10-14.
- How severe is CVE-2021-22964?
- High severity. CVSS v3 base score is 8.8 out of 10.