🇰🇷 한글 설명
MariaDB Connector/C 3.1.8 미만 버전의 libmariadb/mariadb_lib.c에서 서버로부터 수신된 OK 패킷의 내용을 적절히 검증하지 않는 취약점이 발견되었습니다. 이 문제는 MySQL 구성 요소에는 영향을 미치지 않으며 MariaDB 커넥터에 국한됩니다.
💡 쉬운 설명
데이터베이스와 통신할 때 서버가 보내는 응답 메시지를 제대로 확인하지 않아 발생하는 보안 문제입니다. 악의적인 서버가 조작된 메시지를 보내면 프로그램이 오작동하거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
libmariadb/mariadb_lib.c in MariaDB Connector/C before 3.1.8 does not properly validate the content of an OK packet received from a server. NOTE: although mariadb_lib.c was originally based on code shipped for MySQL, this issue does not affect any MySQL components supported by Oracle.
📍 영향받는 시스템
MariaDB Connector/C 3.1.8 미만 버전
⚔️ 공격 벡터
조작된 OK 패킷을 전송하는 악의적인 서버를 통해 클라이언트 측에서 발생
🛡️ 대응 방법
MariaDB Connector/C를 3.1.8 이상의 최신 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 3.1.8보다 낮은지 확인하십시오.
mariadb-connector-c --version 2>/dev/null || pkg-config --modversion mariadbclient 2>/dev/null