🔍 CVE-2026-43233

8.2
CVSS Score
HIGH
2026-05-06
2026-10-19 20:18
✅ 완료

🇰🇷 한글 설명

Linux 커널 netfilter nf_conntrack_h323의 decode_choice() 함수에서 초기화되지 않은 len 변수(0)를 경계 검사에 사용하여 OOB read 발생. Q.931 SETUP 메시지에 정확히 2바이트의 PER-encoded 데이터({0x08, 0x00})를 담아 1720 포트로 전송하면 버퍼를 1-2바이트 초과 읽음.

💡 쉬운 설명

방화벽의 네트워크 필터 시스템이 특정 메시지 처리 시 실수로 메모리 범위를 초과해서 읽음. 공격자가 조작된 메시지를 보내 서버 메모리 정보를 유출할 수 있음.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_conntrack_h323: fix OOB read in decode_choice() In decode_choice(), the boundary check before get_len() uses the variable `len`, which is still 0 from its initialization at the top of the function: unsigned int type, ext, len = 0; ... if (ext || (son->attr & OPEN)) { BYTE_ALIGN(bs); if (nf_h323_error_boundary(bs, len, 0)) /* len is 0 here */ return H323_ERROR_BOUND; len = get_len(bs); /* OOB read */ When the bitstream is exactly consumed (bs->cur == bs->end), the check nf_h323_error_boundary(bs, 0, 0) evaluates to (bs->cur + 0 > bs->end), which is false. The subsequent get_len() call then dereferences *bs->cur++, reading 1 byte past the end of the buffer. If that byte has bit 7 set, get_len() reads a second byte as well. This can be triggered remotely by sending a crafted Q.931 SETUP message with a User-User Information Element containing exactly 2 bytes of PER-encoded data ({0x08, 0x00}) to port 1720 through a firewall with the nf_conntrack_h323 helper active. The decoder fully consumes the PER buffer before reaching this code path, resulting in a 1-2 byte heap-buffer-overflow read confirmed by AddressSanitizer. Fix this by checking for 2 bytes (the maximum that get_len() may read) instead of the uninitialized `len`. This matches the pattern used at every other get_len() call site in the same file, where the caller checks for 2 bytes of available data before calling get_len().

📍 영향받는 시스템

nf_conntrack_h323 helper가 활성화된 Linux 커널 (방화벽/라우터 시스템)

⚔️ 공격 벡터

포트 1720으로 조작된 Q.931 SETUP 메시지(0x08, 0x00 페이로드 포함) 전송

🛡️ 대응 방법

Linux 커널을 최신 버전으로 업데이트하여 boundary check 패치 적용

🔧 검증 코드

현재 커널 버전 확인 후 공식 패치 내용과 비교하여 수정 여부 확인, nf_conntrack_h323 모듈 로드 상태 확인

Shell / Script
cat /proc/version && lsmod | grep nf_conntrack_h323

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel