개요
이 취약점이 무엇인지
A stored cross-site scripting (XSS) vulnerability was identified in GitHub Enterprise Server that allowed an authenticated attacker to inject arbitrary HTML attributes into rendered Markdown because the Markdown rendering pipeline rewrote quote characters in already-sanitized HTML without re-sanitizing the result. Crafted Markdown could abuse same-origin JavaScript gadgets to bypass Content Security Policy and gain control of the page DOM when viewed by another user. Successful exploitation could allow an attacker to read content visible to the victim, extract embedded CSRF tokens, perform state-changing actions as the victim, and exfiltrate data through same-origin writes. The payload could also propagate to repositories and organizations where the victim had write access. This vulnerability affected supported GitHub Enterprise Server releases in the 3.17, 3.18, 3.19, 3.20, 3.21, and 3.22 series and was fixed in versions 3.22.1, 3.21.6, 3.20.8, 3.19.12, 3.18.15, and 3.17.21. This vulnerability was reported via the GitHub Bug Bounty program.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| enterprise_servergithub | 3.17.0 | ≤ | 취약 | < | 3.17.21 | 3.17.21이상 |
| 3.18.0 | ≤ | 취약 | < | 3.18.15 | 3.18.15이상 | |
| 3.19.0 | ≤ | 취약 | < | 3.19.12 | 3.19.12이상 | |
| 3.20.0 | ≤ | 취약 | < | 3.20.8 | 3.20.8이상 | |
| 3.21.0 | ≤ | 취약 | < | 3.21.6 | 3.21.6이상 | |
| 3.22.0 | ≤ | 취약 | < | 3.22.1 | 3.22.1이상 | |
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 6줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| Enterprise ServerGitHub | 3.17.0 | ≤ | 취약 | < | 3.17.* | 3.17.*이상 |
| 3.18.0 | ≤ | 취약 | < | 3.18.* | 3.18.*이상 | |
| 3.19.0 | ≤ | 취약 | < | 3.19.* | 3.19.*이상 | |
| 3.20.0 | ≤ | 취약 | < | 3.20.* | 3.20.*이상 | |
| 3.21.0 | ≤ | 취약 | < | 3.21.* | 3.21.*이상 | |
| 3.22.0 | ≤ | 취약 | < | 3.22.* | 3.22.*이상 | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.