🇰🇷 한글 설명
MongoDB Server의 교차 샤드 트랜잭션에 사용되는 네트워크 2단계 커밋 프로토콜에서 인증 후 발생하는 결함입니다. 특정 조건에서 트랜잭션 조정 로직이 트랜잭션을 완료된 것으로 잘못 해석하여 샤드 간 데이터 불일치를 초래할 수 있으며, 이는 무결성과 가용성에 영향을 미칩니다.
💡 쉬운 설명
데이터베이스가 여러 곳에 나누어 저장된 정보를 동시에 업데이트할 때, 아주 짧은 순간 계산 오류가 발생할 수 있는 문제입니다. 이로 인해 데이터가 서로 맞지 않게 저장되거나 서비스 이용에 차질이 생길 수 있습니다.
🇺🇸 원문 (English)
A post-authentication flaw in the network two-phase commit protocol used for cross-shard transactions in MongoDB Server may lead to logical data inconsistencies under specific conditions which are not predictable and exist for a very short period of time. This error can cause the transaction coordination logic to misinterpret the transaction as committed, resulting in inconsistent state on those shards. This may lead to low integrity and availability impact.
This issue impacts MongoDB Server v8.0 versions prior to 8.0.16, MongoDB Server v7.0 versions prior to 7.0.26 and MongoDB server v8.2 versions prior to 8.2.2.
📍 영향받는 시스템
MongoDB Server v8.0 < 8.0.16, v7.0 < 7.0.26, v8.2 < 8.2.2
⚔️ 공격 벡터
인증된 사용자가 특정 조건의 교차 샤드 트랜잭션을 수행하여 논리적 데이터 불일치 유도
🛡️ 대응 방법
MongoDB Server를 최신 패치 버전(8.0.16, 7.0.26, 8.2.2 이상)으로 업데이트
🔧 검증 코드
출력된 버전 번호가 취약한 버전 범위(8.0.16 미만, 7.0.26 미만, 8.2.2 미만)에 해당하는지 확인
mongod --version | grep -E '8.0\.[0-9]+|7.0\.[0-9]+|8.2\.[0-9]+'