VDB
EN
MEDIUM

GHSA-955p-x3mx-jcvp

Next.js: Unauthenticated disclosure of internal Server Function endpoints

빠른 조치

GHSA-955p-x3mx-jcvp — next: 아래 명령으로 수정 버전으로 올리세요.

npm install next@15.5.21

상세

## Impact

In Next.js applications using App Router, Server Actions (`use server`) or `use cache` endpoints can be disclosed bypassing any authentication on the pages where these endpoints are usually used.

Server Action IDs can be disclosed to unauthenticated users via publicly served client artifacts (for example, static chunks containing action references).

Affected users are applications using App Router + Server Actions.

By itself, this disclosure is typically a recon/enumeration primitive; however, it can increase risk when combined with other weaknesses. ## Workarounds

Never assume any authentication claims at the `use cache` or `use server` boundary. Always authenticate within the boundary.

이 버전이 영향받나요?

사용 중인 패키지 버전을 입력하면 즉시 평가합니다.

영향 패키지

npm / next
최초 영향 버전: 13.0.0 수정 버전: 15.5.21
수정 npm install next@15.5.21
npm / next
최초 영향 버전: 16.0.0 수정 버전: 16.2.11
수정 npm install next@16.2.11

참고