CVE-2023-29020 — @fastify/passport is a port of passport authentication library for the Fastify e
@fastify/passport is a port of passport authentication library for the Fastify ecosystem. The CSRF (Cross-Site Request Forger) protection enforced by the `@fastify/csrf-protection` library, when combined with `@fastify/passport` in affected versions, can be bypassed by network an
Published
2023-04-21T22:31:56.768Z
Last modified
2025-02-04T19:38:09.698Z
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
01What is this vulnerability?
@fastify/passport is a port of passport authentication library for the Fastify ecosystem. The CSRF (Cross-Site Request Forger) protection enforced by the `@fastify/csrf-protection` library, when combined with `@fastify/passport` in affected versions, can be bypassed by network and same-site attackers. `fastify/csrf-protection` implements the synchronizer token pattern (using plugins…
02Affected products
| Vendor | Product | Versions |
|---|
| fastify | fastify | passport — < 1.1.0, >= 2.0.0, < 2.3.0 |
03Active exploitation status
Not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog. EPSS is the best forward-looking signal — see the EPSS row above.
04Recommended remediation
- Patch to a fixed version listed in the vendor advisory (see references below).
- Mitigate with WAF rules, network egress filters, or feature flags where the patch is not yet available.
- Hunt historical logs for exploitation indicators — see Detection signatures below.
05Technical details
For the full vendor write-up, exploit chains, and reference implementations, see the references list in section 09.
06Detection signatures
Ask SARA in chat to draft a starting detection for this CVE in your stack of choice.
07Related CVEs
No directly-cited follow-up CVEs in the KB record for this advisory. The references list in section 09 carries the vendor cross-references.
08Timeline
- Published: 2023-04-21T22:31:56.768Z
- Last modified: 2025-02-04T19:38:09.698Z
09References
- github.com — https://github.com/fastify/fastify-passport/security/advisories/GHSA-2ccf-ffrj-m…
- github.com — https://github.com/fastify/fastify-passport/commit/07c90feab9cba0dd4779e47cfb071…
- cheatsheetseries.owasp.org — https://cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Request_Forgery_Preven…
- owasp.org — https://owasp.org/www-community/attacks/csrf
Want this in your SOAR or SIEM?
SARA's API returns EPSS, CVSS, KEV, and an analyst-grade summary in one call.
Read the API reference →