Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-g5qg-72qw-gw5v

Опубликовано: 29 авг. 2025
Источник: github
Github: Прошло ревью
CVSS3: 6.2

Описание

Next.js Affected by Cache Key Confusion for Image Optimization API Routes

A vulnerability in Next.js Image Optimization has been fixed in v15.4.5 and v14.2.31. 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.

All users are encouraged to upgrade if they use API routes to serve images that depend on request headers and have image optimization enabled.

More details at Vercel Changelog

Пакеты

Наименование

next

npm
Затронутые версииВерсия исправления

>= 0.9.9, < 14.2.31

14.2.31

Наименование

next

npm
Затронутые версииВерсия исправления

>= 15.0.0, <= 15.4.4

15.4.5

EPSS

Процентиль: 2%
0.00016
Низкий

6.2 Medium

CVSS3

Дефекты

CWE-524

Связанные уязвимости

redhat
19 дней назад

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.

CVSS3: 6.2
nvd
19 дней назад

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.

EPSS

Процентиль: 2%
0.00016
Низкий

6.2 Medium

CVSS3

Дефекты

CWE-524