CVE-2021-29624: Lack of protection against cookie tossing attacks in fastify-csrf
fastify · fastify-csrf
Affected: fastify-csrf · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 58% of scored CVEs
DescriptionCVE.org
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.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- fastify · fastify-csrf< 3.1.0
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
CoverageNo articles yet
No CyberSIXT article names CVE-2021-29624 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-565cwe.mitre.org
- github.com/fastify/fastify-csrf/security/advisories/GHSA-rc4q-9mgithub.com
- github.com/fastify/csrf/pull/2github.com
- github.com/fastify/fastify-csrf/pull/51github.com
- cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Request_Forgercheatsheetseries.owasp.org
- github.com/fastify/fastify-csrf/releases/tag/v3.1.0github.com
- owasp.org/www-pdf-archive/David_Johansson-Double_Defeat_of_Doublowasp.org