CVE-2021-22964

Source
https://cve.org/CVERecord?id=CVE-2021-22964
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-22964.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-22964
Aliases
Published
2021-10-14T15:15:08.933Z
Modified
2026-03-14T10:46:09.179065Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/fastify/fastify-static

Affected ranges

Type
GIT
Repo
https://github.com/fastify/fastify-static
Events
Database specific
{
    "versions": [
        {
            "introduced": "4.2.4"
        },
        {
            "fixed": "4.4.1"
        }
    ]
}

Affected versions

v4.*
v4.2.4
v4.3.0
v4.4.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-22964.json"