🔍 CVE-2026-96297

6.5
CVSS Score
MEDIUM
2026-10-13
2026-10-15 20:38
✅ 완료

🇰🇷 한글 설명

MongoDB Server의 aggregation 기능에서 해제된 메모리를 사용하는 취약점이 발견되었습니다. 내부 aggregation 단계와 배치 크기 0을 함께 사용할 경우, 이미 해제된 메모리 영역을 읽어 다른 데이터가 포함된 결과가 반환되거나 서버가 예기치 않게 종료될 수 있습니다.

💡 쉬운 설명

데이터를 계산하는 과정에서 이미 사용이 끝난 메모리 공간을 다시 읽어버리는 오류가 있습니다. 이로 인해 엉뚱한 정보가 결과에 섞여 나오거나 프로그램이 갑자기 꺼질 수 있습니다.

🇺🇸 원문 (English)

Use of freed memory in the aggregation feature of MongoDB Server can cause the server to read data from a memory area after it has been released. When an internal aggregation stage is combined with a batch size of 0, the server may read from memory that is no longer in use. Because that memory can be reused for other data before it is read, query results returned to the client may contain unrelated data from the server process. Depending on the state of memory at the time, the server process may also terminate unexpectedly. The behavior can occur when an authenticated user with read privileges runs an aggregate command that combines these two settings.

📍 영향받는 시스템

MongoDB Server (aggregation 기능 및 batch size 0 설정 사용 시)

⚔️ 공격 벡터

읽기 권한을 가진 인증된 사용자가 특정 설정(batch size 0)을 포함한 aggregate 명령어를 실행

🛡️ 대응 방법

MongoDB 최신 보안 패치 적용 및 aggregation 시 batch size 설정을 주의하여 사용

🔧 검증 코드

출력된 MongoDB 버전을 확인하여 해당 취약점이 해결된 최신 버전인지 확인합니다.

Shell / Script
mongod --version

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Spring Data MongoDB