QID 982980
QID 982980: Nodejs (npm) Security Update for fastify-csrf (GHSA-49wp-qq6x-g2rf)
The package fastify-csrf before 3.0.0 has a set of issues that affect its ability to do CSRF protection.
1. The generated cookie used insecure defaults, and did not have the httpOnly flag on: `cookieOpts: { path: '/', sameSite: true }`
2. The CSRF token was available in the GET query parameter
Successful exploitation of this vulnerability may affect the confidentiality, integrity, and availability of the targeted user.
Solution
Customers are advised to refer to GHSA-49wp-qq6x-g2rf for updates pertaining to this vulnerability.
Vendor References
- GHSA-49wp-qq6x-g2rf -
github.com/advisories/GHSA-49wp-qq6x-g2rf
CVEs related to QID 982980
Software Advisories
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-49wp-qq6x-g2rf | fastify-csrf |
|