🇰🇷 한글 설명
MongoDB PHP 드라이버의 BSON 디코딩 로직에서 제어되지 않는 재귀 취약점이 발견되었습니다. 공격자가 조작된 바이너리 문서를 제공할 경우 프로세스 스택을 고갈시켜 PHP 프로세스를 예기치 않게 종료시키고 서비스 가용성을 상실하게 만들 수 있습니다.
💡 쉬운 설명
특수하게 만들어진 데이터를 보내면 프로그램이 무한 루프에 빠져 멈추게 만드는 버그입니다. 이로 인해 웹사이트나 서비스가 갑자기 꺼져서 이용할 수 없게 될 수 있습니다.
🇺🇸 원문 (English)
An uncontrolled recursion weakness in the BSON decoding logic of the MongoDB PHP driver may allow an unauthenticated party who can supply crafted binary document data to the decoder to exhaust the process stack. This may cause the PHP process using the driver to terminate unexpectedly, resulting in a loss of availability for that process. The condition occurs below the PHP layer and cannot be intercepted by application-level error handling.
📍 영향받는 시스템
MongoDB PHP driver (BSON decoding logic 포함 버전)
⚔️ 공격 벡터
조작된 바이너리 BSON 문서를 디코더에 전달하여 스택 오버플로우 유도
🛡️ 대응 방법
MongoDB PHP 드라이버를 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 MongoDB 드라이버의 버전을 확인하여 취약점이 해결된 최신 버전인지 대조합니다.
php --ri mongodb | grep 'Version'