🔍 CVE-2014-2669

6.5
CVSS Score
MEDIUM
2014-03-31
2026-05-06 22:30
✅ 완료

🇰🇷 한글 설명

PostgreSQL의 hstore 확장 모듈에서 정수 오버플로우 취약점으로, 원격 인증된 사용자가 hstore_recv, hstore_from_arrays, hstore_from_array, hstoreArrayToPairs 함수를 통해 버퍼 오버플로우를 유발할 수 있습니다. PostgreSQL 9.0.x에서 9.3.x 버전 범위에서 발생하며, 패치되지 않은 버전은 비정의된 영향(서비스 거부, 정보 유출, 권한 상승 등)을 받을 수 있습니다.

💡 쉬운 설명

PostgreSQL 데이터베이스의 hstore라는 기능에서 숫자 처리 오류가 있어서, 로그인한 사용자가 특수 입력값을 보내면 프로그램이 크래시되거나 악의적으로 조작될 수 있습니다. 특정 버전의 PostgreSQL을 사용하는 서버는 긴급 업데이트가 필요합니다.

🇺🇸 원문 (English)

Multiple integer overflows in contrib/hstore/hstore_io.c in PostgreSQL 9.0.x before 9.0.16, 9.1.x before 9.1.12, 9.2.x before 9.2.7, and 9.3.x before 9.3.3 allow remote authenticated users to have unspecified impact via vectors related to the (1) hstore_recv, (2) hstore_from_arrays, and (3) hstore_from_array functions in contrib/hstore/hstore_io.c; and the (4) hstoreArrayToPairs function in contrib/hstore/hstore_op.c, which triggers a buffer overflow. NOTE: this issue was SPLIT from CVE-2014-0064 because it has a different set of affected versions.

📍 영향받는 시스템

PostgreSQL 9.0.x (before 9.0.16), 9.1.x (before 9.1.12), 9.2.x (before 9.2.7), 9.3.x (before 9.3.3)

⚔️ 공격 벡터

원격 인증된 사용자가 hstore 함수(hstore_recv, hstore_from_arrays, hstore_from_array, hstoreArrayToPairs)에 정수 오버플로우를 유발하는 입력값 전송

🛡️ 대응 방법

영향받는 PostgreSQL 버전을 즉시 패치 버전으로 업그레이드 (9.0.16 이상, 9.1.12 이상, 9.2.7 이상, 9.3.3 이상)

🔧 검증 코드

설치된 PostgreSQL 버전이 출력되며, 9.0.16 미만, 9.1.12 미만, 9.2.7 미만, 또는 9.3.3 미만이면 시스템이 취약함

Shell / Script
psql --version 2>/dev/null | grep -oE 'PostgreSQL [0-9]+\.[0-9]+\.[0-9]+'

📊 CVSS Vector String

CVSS Vector
AV:N/AC:L/Au:S/C:P/I:P/A:P

💻 영향받는 소프트웨어

PostgreSQL