🔍 CVE-2022-36059

8.2
CVSS Score
HIGH
2023-03-28
2026-06-17 04:52
✅ 완료

🇰🇷 한글 설명

matrix-js-sdk 19.4.0 미만 버전에서 특정 문자열이 포함된 이벤트가 전송될 경우 SDK의 정상적인 동작을 방해하거나 데이터 처리를 저해할 수 있습니다. 이로 인해 런타임 데이터가 누락되거나 손상되어 사용자에게 잘못된 정보를 제공할 위험이 있습니다.

💡 쉬운 설명

메시지 앱의 핵심 부품에 특수한 문자가 포함된 메시지가 들어오면 앱이 오작동하거나 데이터를 잘못 보여줄 수 있는 문제입니다. 이로 인해 중요한 정보가 사라지거나 깨져 보일 수 있습니다.

🇺🇸 원문 (English)

matrix-js-sdk is a Matrix messaging protocol Client-Server SDK for JavaScript. In versions prior to 19.4.0 events sent with special strings in key places can temporarily 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 issue has been fixed in matrix-js-sdk 19.4.0 and users are advised to upgrade. Users unable to upgrade may mitigate this issue by redacting applicable events, waiting for the sync processor to store data, and restarting the client. Alternatively, redacting the applicable events and clearing all storage will often fix most perceived issues. In some cases, no workarounds are possible.

📍 영향받는 시스템

matrix-js-sdk 19.4.0 미만 모든 버전

⚔️ 공격 벡터

특수 문자열이 포함된 악의적인 이벤트를 전송하여 SDK의 데이터 처리 로직을 교란함

🛡️ 대응 방법

matrix-js-sdk를 19.4.0 이상 버전으로 업그레이드하거나, 문제가 되는 이벤트를 삭제하고 저장소를 초기화함

🔧 검증 코드

출력된 버전이 19.4.0 미만인지 확인하여 취약 여부를 판단합니다.

Shell / Script
npm list matrix-js-sdk

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Spring Data REST