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

CVE-2025-57752

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

Descrizione

Next.js is a React framework for building full-stack web applications. In versions before 14.2.31 and from 15.0.0 to before 15.4.5, Next.js Image Optimization API routes are affected by cache key confusion. When images returned from API routes vary based on request headers (such as Cookie or Authorization), these responses could be incorrectly cached and served to unauthorized users due to a cache key confusion bug. This vulnerability has been fixed in Next.js versions 14.2.31 and 15.4.5. All users are encouraged to upgrade if they use API routes to serve images that depend on request headers and have image optimization enabled.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
vercel next.js < 14.2.31 node.js
vercel next.js >= 15.0.0 < 15.4.5 node.js
Tutte le 72 vulnerabilità di Vercel Next.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