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`.
Published 2021-10-14 15:15:09
Updated 2021-10-20 18:02:39
Source HackerOne
View at NVD,   CVE.org
Vulnerability category: Open redirectDenial of service

Exploit prediction scoring system (EPSS) score for CVE-2021-22964

0.15%
Probability of exploitation activity in the next 30 days EPSS Score History
~ 52 %
Percentile, the proportion of vulnerabilities that are scored at or less

CVSS scores for CVE-2021-22964

Base Score Base Severity CVSS Vector Exploitability Score Impact Score Score Source First Seen
6.8
MEDIUM AV:N/AC:M/Au:N/C:P/I:P/A:P
8.6
6.4
NIST
8.8
HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:H
2.8
5.3
NIST

CWE ids for CVE-2021-22964

  • The product does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources.
    Assigned by: support@hackerone.com (Secondary)
  • A web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a Redirect. This simplifies phishing attacks.
    Assigned by: nvd@nist.gov (Primary)

References for CVE-2021-22964

  • https://hackerone.com/reports/1361804
    #1361804 1-click DOS in fastify-static via directly passing user's input to new URL() of NodeJS without try/catch
    Exploit;Issue Tracking;Patch;Third Party Advisory

Products affected by CVE-2021-22964

This web site uses cookies for managing your session, storing preferences, website analytics and additional purposes described in our privacy policy.
By using this web site you are agreeing to CVEdetails.com terms of use!