🔍 CVE-2026-119279

5.9
CVSS Score
MEDIUM
2026-10-29
2026-11-03 17:18
✅ 완료

🇰🇷 한글 설명

MariaDB Connector/J는 Java 애플리케이션을 MariaDB 및 MySQL 데이터베이스에 연결하는 드라이버입니다. 3.0.0부터 3.3.7, 3.4.5, 3.5.10 이전 버전에서는 ReadableByteBuf.readLength() 및 readIntLengthEncodedNotNull() 메서드가 부호 없는 8바이트 길이 인코딩 정수를 검증 없이 Java int로 축소하여, Integer.MAX_VALUE를 초과하는 값이 음수나 잘못된 길이로 변환될 수 있습니다. 이로 인해 클라이언트 연결 처리 중 예외 발생, 범위 초과 오류, 과도한 메모리 할당이 유발될 수 있습니다.

💡 쉬운 설명

데이터베이스 서버가 악의적으로 조작된 길이 값을 보내면 Java 프로그램이 잘못된 크기로 메모리를 할당하려다 오류가 나거나 비정상 동작을 할 수 있습니다. 3.3.7, 3.4.5, 3.5.10 이상 버전으로 업데이트하면 이 문제가 해결됩니다.

🇺🇸 원문 (English)

MariaDB Connector/J is used to connect applications developed in Java to MariaDB and MySQL databases. From 3.0.0 until 3.3.7, 3.4.5, and 3.5.10, the ReadableByteBuf.readLength() and ReadableByteBuf.readIntLengthEncodedNotNull() methods narrowed the protocol's unsigned 8-byte length-encoded integer to a Java int without checking that the value fit a non-negative integer. Values above Integer.MAX_VALUE could wrap to a negative or unrelated length that downstream allocation and read paths used. A malicious or compromised server, or a machine-in-the-middle attacker, could trigger NegativeArraySizeException, out-of-bounds failures, or oversized allocation behavior in client connection handling. This issue is fixed in versions 3.3.7, 3.4.5, and 3.5.10.

📍 영향받는 시스템

MariaDB Connector/J 3.0.0 ~ 3.3.7 미만, 3.4.0 ~ 3.4.5 미만, 3.5.0 ~ 3.5.10 미만을 사용하는 Java 애플리케이션

⚔️ 공격 벡터

악意적이거나 침해된 DB 서버 또는 중간자 공격자가 조작된 길이 인코딩 값을 전송하여 클라이언트에서 예외나 과도한 메모리 할당을 유발

🛡️ 대응 방법

MariaDB Connector/J를 3.3.7, 3.4.5, 3.5.10 이상으로 업데이트

🔧 검증 코드

출력된 Implementation-Version이 3.3.7, 3.4.5, 3.5.10 이상이면 안전하며, 그보다 낮은 버전이면 취약하므로 업데이트가 필요합니다.

Shell / Script
find / -name 'mariadb-java-client*.jar' 2>/dev/null | xargs -I{} sh -c 'unzip -p {} META-INF/MANIFEST.MF 2>/dev/null | grep -i version'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

IBM WebSphere Application Server