🇰🇷 한글 설명
Node.js용 URI 파서인 fast-uri에서 호스트네임을 중복 디코딩하는 취약점이 발견되었습니다. 이로 인해 이중 인코딩된 입력값이 루프백 주소와 같은 다른 네트워크 대상으로 변환될 수 있으며, 이는 SSRF 및 호스트 정책 우회로 이어질 수 있습니다.
💡 쉬운 설명
주소를 해석하는 과정에서 특수 문자를 두 번 읽어버리는 실수 때문에, 원래 의도와 다른 위험한 주소로 연결될 수 있는 문제입니다. 공격자가 이를 이용해 서버 내부망에 몰래 접근할 수 있습니다.
🇺🇸 원문 (English)
fast-uri is a URI parser for Node.js. It decodes percent escapes in a hostname during parsing and then decodes the parsed hostname a second time during authority recomposition, so a single call to normalize or resolve can turn nested percent-encoded input into a different network destination such as a loopback hostname or address. For example, a doubly encoded host that spells out a loopback name decodes to that live host in one operation, which contradicts RFC 3986 section 2.4 that an implementation must not decode the same string more than once. An application that normalizes or resolves an untrusted HTTP-family URI before outbound routing, redirect validation, or a host-policy check can receive a destination different from the one the original encoded host represented, giving a server-side request forgery and host-policy bypass primitive. This is an incomplete-fix variant of CVE-2026-6322. The affected versions are 2.4.1 up to but not including 2.4.5, 3.1.2 up to but not including 3.1.6, and 4.0.0 up to but not including 4.1.3. The issue is fixed in 2.4.5, 3.1.6, and 4.1.3, which normalize percent escapes once and preserve encoded percent signs. Users should upgrade to a patched version.
📍 영향받는 시스템
fast-uri 2.4.1~2.4.4, 3.1.2~3.1.5, 4.0.0~4.1.2
⚔️ 공격 벡터
이중 인코딩된 호스트네임이 포함된 URI를 전달하여 서버의 주소 해석 로직을 조작함
🛡️ 대응 방법
fast-uri를 패치된 버전인 2.4.5, 3.1.6 또는 4.1.3 이상으로 업그레이드하십시오.
🔧 검증 코드
출력된 fast-uri의 버전을 확인하여 취약한 범위에 해당하는지 체크합니다.
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
💻 영향받는 소프트웨어
IBM WebSphere Application Server