🇰🇷 한글 설명
PostGIS 3.7.0beta2 미만 버전에서 발생하는 경계 외 읽기(Out-of-bounds read) 취약점입니다. 공격자가 조작된 FlatGeobuf 버퍼를 제공할 경우, 문자열 본문이 버퍼 범위 내에 있는지 확인하지 못해 메모리 정보가 유출되거나 서버가 충돌할 수 있습니다.
💡 쉬운 설명
잘못 만들어진 데이터 파일을 읽을 때 프로그램이 허용되지 않은 메모리 영역까지 읽어버리는 문제입니다. 이로 인해 중요한 정보가 유출되거나 서버가 갑자기 멈출 수 있습니다.
🇺🇸 원문 (English)
PostGIS before 3.7.0beta2 contains an out-of-bounds read vulnerability that allows attackers to cause memory disclosure or a server crash by supplying a malformed FlatGeobuf buffer. The FlatGeobuf property metadata decoder verifies that a string length field is present but fails to verify that the subsequent string body is contained within the supplied buffer before materializing it into a SQL-visible value, enabling memory disclosure or denial of service.
📍 영향받는 시스템
PostGIS 3.7.0beta2 미만 모든 버전
⚔️ 공격 벡터
조작된 FlatGeobuf 버퍼를 입력값으로 제공하여 메모리 읽기 유도
🛡️ 대응 방법
PostGIS를 3.7.0beta2 이상의 최신 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 PostGIS 버전이 3.7.0 미만인지 확인하십시오.
psql -c 'SELECT postgis_full_version();' 2>/dev/null | grep -oE 'PostGIS [0-9]+\.[0-9]+'