🇰🇷 한글 설명
Parse Server 4.10.3 미만 버전에서 발생하며, 쿼리 요청의 'explain' 옵션에 잘못된 값이 포함될 경우 서버가 충돌합니다. 이는 MongoDB Node.js 드라이버의 버그로 인해 예외 처리가 되지 않아 발생하는 문제입니다.
💡 쉬운 설명
서버에 잘못된 명령어를 보내면 서버가 오류를 견디지 못하고 갑자기 꺼져버리는 문제입니다. 이로 인해 서비스가 중단될 수 있습니다.
🇺🇸 원문 (English)
Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. Prior to version 4.10.3, Parse Server crashes when if a query request contains an invalid value for the `explain` option. This is due to a bug in the MongoDB Node.js driver which throws an exception that Parse Server cannot catch. There is a patch for this issue in version 4.10.3. No workarounds aside from upgrading are known to exist.
📍 영향받는 시스템
Parse Server 4.10.3 미만 모든 버전
⚔️ 공격 벡터
조작된 'explain' 옵션이 포함된 쿼리 요청을 전송하여 서비스 거부(DoS) 유발
🛡️ 대응 방법
Parse Server를 4.10.3 이상 버전으로 업그레이드
🔧 검증 코드
출력된 버전이 4.10.3 미만이면 취약한 상태이며, 4.10.3 이상이면 안전합니다.
npm list parse-server | grep -E 'parse-server@([0-3]\.|4\.[0-9]\.)'