🇰🇷 한글 설명
Matrix Javascript SDK의 17.1.0-rc.1 버전부터 잘못 형성된 비콘 이벤트로 인해 SDK 기능이 중단되거나 방해받을 수 있습니다. 이 취약점은 SDK가 정상 작동하는 것처럼 보일 수 있으나, 실제로는 소비자에게 전달되는 런타임 데이터를 누락하거나 손상시킬 위험이 있습니다.
💡 쉬운 설명
잘못된 데이터 신호가 들어오면 프로그램이 제대로 작동하지 않거나 데이터를 마음대로 바꾸어 버릴 수 있는 문제입니다. 이로 인해 사용자가 보는 정보가 틀리거나 일부 정보가 사라질 수 있습니다.
🇺🇸 원문 (English)
Matrix Javascript SDK is the Matrix Client-Server SDK for JavaScript. Starting with version 17.1.0-rc.1, improperly formed beacon events can disrupt or impede the matrix-js-sdk from functioning properly, potentially impacting the consumer's ability to process data safely. Note that the matrix-js-sdk can appear to be operating normally but be excluding or corrupting runtime data presented to the consumer. This is patched in matrix-js-sdk v19.7.0. Redacting applicable events, waiting for the sync processor to store data, and restarting the client are possible workarounds. Alternatively, redacting the applicable events and clearing all storage will fix the further perceived issues. Downgrading to an unaffected version, noting that such a version may be subject to other vulnerabilities, will additionally resolve the issue.
📍 영향받는 시스템
Matrix Javascript SDK v17.1.0-rc.1 ~ v19.6.x
⚔️ 공격 벡터
형식이 잘못된 비콘(beacon) 이벤트를 전송하여 SDK의 데이터 처리 로직을 교란함
🛡️ 대응 방법
matrix-js-sdk를 v19.7.0 이상 버전으로 업데이트하거나, 문제가 되는 이벤트를 삭제하고 저장소를 초기화함
🔧 검증 코드
출력된 버전이 17.1.0-rc.1보다 높고 19.7.0보다 낮은지 확인하여 취약 여부를 판단함