Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2021-29624— Lack of protection against cookie tossing attacks in fastify-csrf

Quick assessment

Affected
fastify fastify-csrf
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Fastify是OpenJS(Openjs)基金会的一款用于Node.js的开源Web框架。 Node.js fastify 存在安全漏洞,攻击者可以通过Node.js fastify-csrf的Cookie Double Submit触发跨站请求伪造,以迫使受害者执行操作。

CVSS 6.5 · Medium EPSS 0.83% · P56

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2021-29624

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Lack of protection against cookie tossing attacks in fastify-csrf
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在信任Cookie未进行验证与完整性检查
Source: CVE Program / CVE List V5
Vulnerability Title
Fastify 跨站请求伪造漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Fastify是OpenJS(Openjs)基金会的一款用于Node.js的开源Web框架。 Node.js fastify 存在安全漏洞,攻击者可以通过Node.js fastify-csrf的Cookie Double Submit触发跨站请求伪造,以迫使受害者执行操作。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
fastify fastify-csrf < 3.1.0 -

II. Public POCs for CVE-2021-29624

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2021-29624

请登录查看更多情报信息。

Patches & Fixes for CVE-2021-29624 (2)

Vendor Advisories for CVE-2021-29624 (1)

Other References for CVE-2021-29624 (3)

IV. Related Vulnerabilities

V. Comments for CVE-2021-29624

No comments yet


Leave a comment