🇰🇷 한글 설명
FalkorDB 4.20.0 미만 버전의 _read_flags 함수에서 발생하는 타입 혼동 취약점입니다. 인증된 원격 공격자가 GRAPH.QUERY 명령을 통해 Bolt 클라이언트 구조체로 잘못된 형변환을 유도하여 서비스 거부(DoS)를 일으키거나 메모리 정보 유출 및 손상을 유발할 수 있습니다.
💡 쉬운 설명
프로그램이 데이터의 종류를 착각하여 잘못된 방식으로 읽어들이는 오류가 있습니다. 이를 통해 공격자가 시스템을 멈추게 하거나 중요한 정보를 훔쳐볼 수 있습니다.
🇺🇸 원문 (English)
A type confusion vulnerability in the _read_flags function (src/commands/cmd_dispatcher.c) in FalkorDB before 4.20.0 allows a remote authenticated attacker who can run GRAPH.QUERY to cause a denial of service and possibly disclose or corrupt memory. The function accepts a --bolt argument from any client and casts the following command argument, a Redis string object, to a Bolt client structure without checking its origin; the result-set code then dereferences pointers read from that object. The argument is parsed even when the Bolt endpoint is disabled, so default configurations are affected.
📍 영향받는 시스템
FalkorDB 4.20.0 미만 모든 버전
⚔️ 공격 벡터
인증된 사용자가 GRAPH.QUERY 명령에 --bolt 인자를 포함하여 잘못된 데이터 형식을 전달
🛡️ 대응 방법
FalkorDB를 4.20.0 이상의 최신 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 4.20.0 미만(예: 4.19.x)이면 취약한 상태입니다.
falkordb --version 2>/dev/null | grep -E '4\[0-1]\.' || echo 'Version not found'