개요
이 취약점이 무엇인지
undici's setCookie function does not fully sanitize cookie attributes. In undici before 6.28.0, from 7.0.0 up to before 7.29.0, and from 8.0.0 up to before 8.9.0, a domain value is not checked for semicolons and entries in the unparsed array are not sanitized, so attacker-influenced input can inject additional cookie attributes. For example, a domain value containing a semicolon can append attributes such as SameSite, and an unparsed entry can inject attributes such as HttpOnly, without the caller setting them. Applications that pass user-controlled input to these fields, such as multi-tenant or reverse-proxy servers that scope session cookies to a tenant-supplied domain, can have SameSite CSRF protections bypassed, or the Secure, HttpOnly, and SameSite attributes forced, stripped, or overridden. The issue is fixed in undici 6.28.0, 7.29.0, and 8.9.0.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| undicinodejs · node.js 용 | 최초 버전 | ≤ | 취약 | < | 6.28.0 | 6.28.0이상 |
| 7.0.0 | ≤ | 취약 | < | 7.29.0 | 7.29.0이상 | |
| 8.0.0 | ≤ | 취약 | < | 8.9.0 | 8.9.0이상 | |
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 6줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| undiciundici | 최초 버전 | ≤ | 취약 | < | 6.28.0 | 6.28.0이상 |
| 이 버전만 | 영향 없음 | = | 6.28.0 | — | ||
| 7.0.0 | ≤ | 취약 | < | 7.29.0 | 7.29.0이상 | |
| 이 버전만 | 영향 없음 | = | 7.29.0 | — | ||
| 8.0.0 | ≤ | 취약 | < | 8.9.0 | 8.9.0이상 | |
| 이 버전만 | 영향 없음 | = | 8.9.0 | — | ||
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.