CVE-2021-29624

Source
https://cve.org/CVERecord?id=CVE-2021-29624
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-29624.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-29624
Aliases
Published
2021-05-19T22:15:07.837Z
Modified
2026-07-08T06:29:02.298190926Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N CVSS Calculator
Summary
[none]
Details

fastify-csrf is an open-source plugin helps developers protect their Fastify server against CSRF attacks. Versions of fastify-csrf prior to 3.1.0 have a "double submit" mechanism using cookies with an application deployed across multiple subdomains, e.g. "heroku"-style platform as a service. Version 3.1.0 of the fastify-csrf fixes it. the vulnerability. The user of the module would need to supply a userInfo when generating the CSRF token to fully implement the protection on their end. This is needed only for applications hosted on different subdomains.

Database specific
{
    "unresolved_ranges": [
        {
            "cpes": [
                "cpe:2.3:a:fastify:fastify-csrf:*:*:*:*:*:node.js:*:*"
            ],
            "vendor_product": "fastify:fastify-csrf",
            "source": "CPE_RANGE",
            "extracted_events": [
                {
                    "fixed": "3.1.0"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/fastify/csrf-protection

Affected ranges

Type
GIT
Repo
https://github.com/fastify/csrf-protection
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "source": "REFERENCES"
}

Affected versions

v1.*
v1.0.4
v2.*
v2.0.0
v3.*
v3.0.0
v3.0.1

Database specific

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