🔍 CVE-2017-10788

9.8
CVSS Score
CRITICAL
2017-07-01
2026-05-13 00:24
✅ 완료

🇰🇷 한글 설명

DBD::mysql 모듈에서 MySQL 서버의 에러 응답이나 네트워크 연결 끊김으로 인해 메모리 해제 후 사용(use-after-free) 취약점이 발생합니다. 이로 인해 애플리케이션이 크래시되거나 임의 코드 실행이 가능합니다.

💡 쉬운 설명

Perl에서 MySQL을 사용하는 프로그램이 특정 에러나 연결 문제를 잘못 처리하여 프로그램이 멈추거나 해킹될 수 있습니다. 이는 MySQL 라이브러리 버그를 잘못 이해한 개발 실수에서 비롯되었습니다.

🇺🇸 원문 (English)

The DBD::mysql module through 4.043 for Perl allows remote attackers to cause a denial of service (use-after-free and application crash) or possibly have unspecified other impact by triggering (1) certain error responses from a MySQL server or (2) a loss of a network connection to a MySQL server. The use-after-free defect was introduced by relying on incorrect Oracle mysql_stmt_close documentation and code examples.

📍 영향받는 시스템

DBD::mysql 모듈 버전 4.043 이하, Perl 기반 MySQL 애플리케이션

⚔️ 공격 벡터

원격 공격자가 특정 MySQL 에러 응답을 유도하거나 네트워크 연결 손실을 유발하여 use-after-free 발생 시도

🛡️ 대응 방법

DBD::mysql를 4.044 이상 버전으로 업그레이드

🔧 검증 코드

현재 설치된 DBD::mysql 버전을 확인하여 4.044 이상인지 검증 (4.043 이하면 취약)

Shell / Script
perl -e 'use DBD::mysql; print $DBD::mysql::VERSION' 2>/dev/null || cpan -l | grep -i 'dbd::mysql'

📊 CVSS Vector String

CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

MySQL