1. Archivio CVE
  2. 2025
  3. CVE-2025-64762

CVE-2025-64762

9.1 Gravità critica CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N 9.1 – Critica

Descrizione

The AuthKit library for Next.js provides convenient helpers for authentication and session management using WorkOS & AuthKit with Next.js. In authkit-nextjs version 2.11.0 and below, authenticated responses do not defensively apply anti-caching headers. In environments where CDN caching is enabled, this can result in session tokens being included in cached responses and subsequently served to multiple users. Next.js applications deployed on Vercel are unaffected unless they manually enable CDN caching by setting cache headers on authenticated paths. Patched in authkit-nextjs 2.11.1, which applies anti-caching headers to all responses behind authentication.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
workos authkit-nextjs < 2.11.1 node.js

Tipo di vulnerabilità

CWE-524 Use of Cache Containing Sensitive Information

The code uses a cache that contains sensitive information, but the cache can be read by an actor outside of the intended control sphere.

Impatto sui sistemi

AmbitoImpatto
Riservatezza Leggere i dati dell’applicazione

Come si previene

Architettura e progettazione Protect information stored in cache.
Architettura e progettazione Do not store unnecessarily sensitive information in the cache.
Architettura e progettazione Consider using encryption in the cache.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 83 CVE di tipo CWE-524, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org