🇰🇷 한글 설명
FalkorDB 4.18.4 미만 버전의 RDB 그래프 디코더 내 _RdbLoadEntity 함수에서 스택 기반 버퍼 오버플로우 취약점이 발견되었습니다. 공격자가 조작된 RDB 스트림을 전송할 경우 서비스 거부(DoS)를 유발하거나 임의 코드를 실행할 수 있습니다.
💡 쉬운 설명
데이터를 읽어들이는 과정에서 숫자를 너무 크게 설정하여 컴퓨터의 메모리 공간을 넘치게 만드는 오류입니다. 이를 통해 시스템을 멈추게 하거나 해커가 원하는 명령을 실행하게 만들 수 있습니다.
🇺🇸 원문 (English)
A stack-based buffer overflow in the _RdbLoadEntity function of the RDB graph decoders (src/serializers/decoders/*/decode_graph_entities.c) in FalkorDB before 4.18.4 allows a remote attacker who can issue Redis replication commands (for example, against an instance with no password configured) to cause a denial of service and possibly execute arbitrary code by supplying a crafted RDB stream with an attacker-controlled entity property count. The count sizes two variable-length arrays on the thread stack with no upper bound, and the decoder then fills them with attacker-supplied values.
📍 영향받는 시스템
FalkorDB 4.18.4 미만 모든 버전
⚔️ 공격 벡터
비밀번호가 설정되지 않은 Redis 복제 명령을 통해 조작된 RDB 스트림 전송
🛡️ 대응 방법
FalkorDB를 최신 보안 패치가 적용된 4.18.4 이상의 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 버전이 4.18.4 미만인 경우 해당 취약점에 노출된 상태입니다.
falkordb --version 2>/dev/null | grep -E '4\[\.(1[0-7]|18)\.[0-4]'