🔍 CVE-2026-107383

7.5
CVSS Score
HIGH
2026-10-08
2026-10-14 02:16
✅ 완료

🇰🇷 한글 설명

MariaDB Connector/Node.js의 GeoJSON Polygon 및 MultiPolygon 바이너리 인코더에서 입력값이 배열인지 확인하기 전에 Buffer.allocUnsafe()를 통해 메모리를 할당하는 취약점이 발견되었습니다. 악의적으로 조작된 데이터를 전송할 경우 초기화되지 않은 Node.js 힙 메모리 데이터가 데이터베이스로 유출될 수 있습니다. 이 데이터에는 다른 사용자의 콘텐츠, 세션 정보, 데이터베이스 자격 증명 또는 TLS 키가 포함될 수 있습니다.

💡 쉬운 설명

데이터베이스에 지도를 그리는 정보를 보낼 때, 컴퓨터 메모리의 빈 공간에 들어있던 민감한 정보가 함께 전송될 수 있는 문제입니다. 해커가 이 정보를 가로채면 다른 사람의 비밀번호나 중요한 보안 키를 알아낼 위험이 있습니다.

🇺🇸 원문 (English)

MariaDB Connector/Node.js is used to connect applications developed on Node.js to MariaDB and MySQL databases. Prior to 3.2.5, 3.3.4, 3.4.7, and 3.5.4, the GeoJSON Polygon and MultiPolygon binary encoders size a Buffer.allocUnsafe() allocation from each ring's numeric length before confirming that the ring is an array. A malformed non-array ring can therefore reserve bytes that the writing loop skips, and the connector sends the full buffer through execute() or batch(), disclosing uninitialized Node.js heap data into a database value. The persisted data can include other users' content, session material, database credentials, or TLS key material and may propagate to backups and replicas. The text-protocol query() path is not affected. This issue is fixed in versions 3.2.5, 3.3.4, 3.4.7, and 3.5.4.

📍 영향받는 시스템

MariaDB Connector/Node.js 3.2.5, 3.3.4, 3.4.7, 3.5.4 미만 버전

⚔️ 공격 벡터

조작된 GeoJSON 데이터를 사용하여 execute() 또는 batch() 함수를 통해 비정상적인 메모리 할당 유도

🛡️ 대응 방법

MariaDB Connector/Node.js를 최신 패치 버전(3.2.5, 3.3.4, 3.4.7 또는 3.5.4 이상)으로 업데이트

🔧 검증 코드

출력된 버전이 취약한 버전 범위(3.2.5, 3.3.4, 3.4.7, 3.5.4 미만)에 해당하는지 확인

Shell / Script
npm list mariadb-connector-node

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

MariaDB