🇰🇷 한글 설명
MySQL Connector/C 6.1.10 이전 버전의 취약점으로, 낮은 권한의 공격자가 네트워크를 통해 여러 프로토콜로 접근하여 완전한 DoS(서비스 거부)를 유발할 수 있습니다. mysql_stmt_close() 등 함수의 잘못된 사용으로 인해 애플리케이션이 hang 또는 crash될 수 있습니다.
💡 쉬운 설명
MySQL Connector/C 라이브러리의 오래된 버전에서 특정 함수 사용 시 프로그램이 멈추거나 강제 종료될 수 있습니다. 공격자가 네트워크를 통해 이를 악용하면 서비스를 중단시킬 수 있습니다.
🇺🇸 원문 (English)
Vulnerability in the MySQL Connectors component of Oracle MySQL (subcomponent: Connector/C). Supported versions that are affected are 6.1.10 and earlier. Difficult to exploit vulnerability allows low privileged attacker with network access via multiple protocols to compromise MySQL Connectors. Successful attacks of this vulnerability can result in unauthorized ability to cause a hang or frequently repeatable crash (complete DOS) of MySQL Connectors. Note: The documentation has also been updated for the correct way to use mysql_stmt_close(). Please see: https://dev.mysql.com/doc/refman/5.7/en/mysql-stmt-execute.html, https://dev.mysql.com/doc/refman/5.7/en/mysql-stmt-fetch.html, https://dev.mysql.com/doc/refman/5.7/en/mysql-stmt-close.html, https://dev.mysql.com/doc/refman/5.7/en/mysql-stmt-error.html, https://dev.mysql.com/doc/refman/5.7/en/mysql-stmt-errno.html, and https://dev.mysql.com/doc/refman/5.7/en/mysql-stmt-sqlstate.html. CVSS 3.0 Base Score 5.3 (Availability impacts). CVSS Vector: (CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H).
📍 영향받는 시스템
MySQL Connector/C 6.1.10 이전 버전
⚔️ 공격 벡터
낮은 권한의 공격자가 네트워크를 통해 여러 프로토콜로 MySQL 연결을 시도하여 특수 제작된 요청 전송
🛡️ 대응 방법
MySQL Connector/C를 6.1.11 이상으로 업그레이드하고, mysql_stmt_close() 등의 함수를 공식 문서에 따라 올바르게 사용하도록 코드 수정
🔧 검증 코드
패키지 이름과 버전을 확인하여 6.1.10 이하면 업그레이드 필요. 결과가 없으면 설치되지 않은 상태
dpkg -l 2>/dev/null | grep -E 'mysql-connector-c|libmysqlclient' | awk '{print $2, $3}'