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
Related
Published
2021-05-19T22:15:07.837Z
Modified
2026-03-15T22:40:16.491801Z
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.

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
Type
GIT
Repo
https://github.com/fastify/fastify-csrf
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "3.1.0"
        }
    ]
}

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"