{"id":"EUVD-2021-1177","revision":"f4b2a1cf24674eabbc5c1db4eef7a378","records":[{"revision":"f4b2a1cf24674eabbc5c1db4eef7a378","observedAt":"2026-11-24T08:27:24.309+00:00","statement":{"source":"euvd","id":"EUVD-2021-1177","aliases":["CVE-2021-29624","GHSA-rc4q-9m69-gqp8"],"title":"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 su…","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","score":6.5,"severity":null}],"references":["https://github.com/fastify/fastify-csrf/security/advisories/GHSA-rc4q-9m69-gqp8","https://github.com/fastify/csrf/pull/2","https://github.com/fastify/fastify-csrf/pull/51","https://cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html","https://github.com/fastify/fastify-csrf/releases/tag/v3.1.0","https://owasp.org/www-pdf-archive/David_Johansson-Double_Defeat_of_Double-Submit_Cookie.pdf"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-1177","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"May 19, 2021, 9:15:28 PM","dateUpdated":"Aug 3, 2024, 10:11:06 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2021-1177","identifiers":["EUVD-2021-1177","CVE-2021-29624","GHSA-rc4q-9m69-gqp8"]},"retained":false,"historicalAffected":[]}],"coverage":[]}