🔍 CVE-2026-117518

8.2
CVSS Score
HIGH
2026-11-02
2026-11-02 17:17
✅ 완료

🇰🇷 한글 설명

@fastify/reply-from 12.8.0 이하 버전은 프록시 경로 검증 시 슬래시 기반 dot-segment만 검사하고, WHATWG URL 파서가 백슬래시와 그 퍼센트 인코딩을 슬래시로 정규화하는 점을 고려하지 않는다. 이로 인해 백슬래시 dot-segment를 포함한 경로가 순회 검사를 우회하여 의도하지 않은 업스트림 경로에 접근할 수 있으며, 주로 기밀성에 영향을 미친다. 12.8.1 버전에서 경로 정규화 및 제어문자·모호한 공백 거부 로직이 추가되어 수정되었다.

💡 쉬운 설명

프록시 서버가 요청을 다른 서버로 전달할 때, 특수한 경로 문자를 사용하면 허용된 범위를 벗어나 다른 내부 서버의 자원에 접근될 수 있습니다. 해결하려면 패키지를 12.8.1 이상으로 업데이트해야 합니다.

🇺🇸 원문 (English)

@fastify/reply-from is a Fastify plugin that forwards requests to an upstream HTTP server. In versions up to and including 12.8.0, the plugin validated proxy paths against forward-slash dot-segments only and then built the target with the WHATWG URL parser, which normalizes a backslash and its percent-encoded form to a forward slash on the http, https, ws, and wss schemes. A path that uses backslash dot-segments therefore bypasses the traversal check and resolves to a different upstream path, so an application that scopes proxying to an upstream prefix, or relies on route guards in front of the forwarding call, can have an unauthenticated request escape the intended prefix and reach other upstream endpoints. The resulting access to unintended upstream resources is primarily a confidentiality impact with limited integrity impact. The issue is fixed in @fastify/reply-from 12.8.1, where the path is normalized and any segment resolving to a single or double dot, along with control characters and ambiguous whitespace, is rejected before the URL is constructed, and users should upgrade to 12.8.1 or later. There is no workaround other than upgrading.

📍 영향받는 시스템

@fastify/reply-from 12.8.0 이하 버전을 사용하는 Fastify 기반 프록시 애플리케이션

⚔️ 공격 벡터

백슬래시(\) 및 그 퍼센트 인코딩(%5C)이 포함된 dot-segment 경로를 요청하여 경로 순회 검사를 우회하고 업스트림의 다른 엔드포인트에 접근

🛡️ 대응 방법

@fastify/reply-from을 12.8.1 이상으로 업그레이드 (우회 수단 없음)

🔧 검증 코드

출력된 버전이 12.8.1 미만이면 취약하므로 12.8.1 이상으로 업그레이드가 필요하며, 결과가 없으면 해당 패키지가 설치되어 있지 않은 것입니다.

Shell / Script
npm ls @fastify/reply-from 2>/dev/null | grep reply-from

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

💻 영향받는 소프트웨어

IBM WebSphere Application Server