{"id":"EUVD-2021-1177","enisaUuid":"15dbb435-c45c-3f05-bed3-618cf524956e","description":"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.","datePublished":"May 19, 2021, 9:15:28 PM","dateUpdated":"Aug 3, 2024, 10:11:06 PM","baseScore":6.5,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","references":"https://github.com/fastify/fastify-csrf/security/advisories/GHSA-rc4q-9m69-gqp8\nhttps://github.com/fastify/csrf/pull/2\nhttps://github.com/fastify/fastify-csrf/pull/51\nhttps://cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html\nhttps://github.com/fastify/fastify-csrf/releases/tag/v3.1.0\nhttps://owasp.org/www-pdf-archive/David_Johansson-Double_Defeat_of_Double-Submit_Cookie.pdf\n","aliases":"CVE-2021-29624\nGHSA-rc4q-9m69-gqp8\n","assigner":"GitHub_M","epss":0.83,"enisaIdProduct":[{"id":"06ec9574-04f0-316b-a20d-ef17d2cfad94","product":{"name":"fastify-csrf","vendor":{"name":"fastify"}},"product_version":"\u003c 3.1.0"}],"enisaIdVendor":[{"id":"062e013b-e3a6-34b5-bca9-c50bee217f29","vendor":{"name":"fastify"}}],"enisaIdVulnerability":[{"id":"3f8b0c9c-86c6-3165-b76f-2d44bf0395c2","vulnerability":{"id":"CVE-2021-29624","description":"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.","datePublished":"May 19, 2021, 9:15:28 PM","dateUpdated":"Aug 3, 2024, 10:11:06 PM","status":"PUBLISHED","baseScore":6.5,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","references":"https://github.com/fastify/fastify-csrf/security/advisories/GHSA-rc4q-9m69-gqp8\nhttps://github.com/fastify/csrf/pull/2\nhttps://github.com/fastify/fastify-csrf/pull/51\nhttps://cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html\nhttps://github.com/fastify/fastify-csrf/releases/tag/v3.1.0\nhttps://owasp.org/www-pdf-archive/David_Johansson-Double_Defeat_of_Double-Submit_Cookie.pdf\n","enisa_id":"EUVD-2021-1177\n","assigner":"GitHub_M","epss":0.83,"dataProcessed":"Nov 24, 2026, 7:19:39 AM","vulnerabilityProduct":[{"id":"c3d69024-2bcc-3b49-b258-63dce1b0cbbd","product":{"name":"fastify-csrf","vendor":{"name":"fastify"}},"product_version":"\u003c 3.1.0"}],"vulnerabilityVendor":[{"id":"1e9bcbe9-dca2-3c6c-b973-a65d6b9c8923","vendor":{"name":"fastify"}}]}},{"id":"d6d300b2-64fb-3da6-9701-df60c870b924","vulnerability":{"id":"GHSA-rc4q-9m69-gqp8","description":"Lack of protection against cookie tossing attacks in fastify-csrf","datePublished":"May 17, 2021, 8:53:30 PM","dateUpdated":"May 17, 2021, 8:29:48 PM","baseScore":null,"references":"https://github.com/fastify/fastify-csrf/security/advisories/GHSA-rc4q-9m69-gqp8\nhttps://nvd.nist.gov/vuln/detail/CVE-2021-29624\nhttps://github.com/fastify/csrf/pull/2\nhttps://github.com/fastify/fastify-csrf/pull/51\nhttps://cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html\nhttps://github.com/fastify/fastify-csrf/releases/tag/v3.1.0\nhttps://owasp.org/www-pdf-archive/David_Johansson-Double_Defeat_of_Double-Submit_Cookie.pdf\n","enisa_id":"EUVD-2021-1177\n","aliases":"GHSA-rc4q-9m69-gqp8\nCVE-2021-29624\n","epss":0.0,"dataProcessed":"Nov 22, 2026, 2:06:15 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[]}