🔍 CVE-2026-54266

6.1
CVSS Score
MEDIUM
2026-06-22
2026-07-09 15:39
✅ 완료

🇰🇷 한글 설명

Angular의 HttpTransferCache가 SSR 과정에서 사용하는 32비트 DJB2 기반 해시 알고리즘의 취약점으로 인해 해시 충돌이 발생할 수 있습니다. 공격자가 특정 쿼리 파라미터를 사용하여 민감한 API 응답을 일반적인 요청 응답으로 덮어쓰는 것이 가능합니다. 이 문제는 22.0.1, 21.2.17, 20.3.25 버전에서 수정되었습니다.

💡 쉬운 설명

데이터를 식별하는 이름표를 만드는 방식이 너무 단순해서, 서로 다른 데이터임에도 같은 이름표를 갖게 되는 문제가 있습니다. 이를 통해 공격자가 사용자의 중요한 정보를 가짜 정보로 바꿔치기할 수 있습니다.

🇺🇸 원문 (English)

Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 22.0.1, 21.2.17, and 20.3.25, Angular's HttpTransferCache caches HTTP requests made during Server-Side Rendering (SSR) so that they can be reused during client-side hydration. This avoids repeating the same HTTP requests on the client. The cached responses are stored in TransferState using a cache key generated by hashing request properties (method, response type, mapped URL, serialized body, and sorted query parameters). The cache keys are generated using a weak 32-bit DJB2-like polynomial rolling hash. The 32-bit hash space is extremely small, allowing attackers to find hash collisions. An attacker can easily find a query parameter string (e.g., q=aaCAZMMM for a search request) that produces the exact same 32-bit hash as a sensitive endpoint (e.g., /api/user/profile). When a victim visits a crafted link containing the colliding parameter, the SSR process executes both the search request and the profile request. Due to the hash collision, the search response overwrites the profile response in the TransferState cache. This vulnerability is fixed in 22.0.1, 21.2.17, and 20.3.25.

📍 영향받는 시스템

Angular versions prior to 22.0.1, 21.2.17, and 20.3.25

⚔️ 공격 벡터

해시 충돌을 유도하는 특수하게 조작된 쿼리 파라미터가 포함된 링크를 피해자에게 클릭하도록 유도

🛡️ 대응 방법

Angular 프레임워크를 최신 보안 패치 버전(22.0.1, 21.2.17, 20.3.25 이상)으로 업데이트

🔧 검증 코드

출력된 @angular/core의 버전이 취약점이 해결된 버전(22.0.1, 21.2.17, 20.3.25 중 하나 이상)인지 확인

Shell / Script
npm list @angular/core

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

IBM WebSphere Application Server