🇰🇷 한글 설명
Linux 커널의 netfilter flowtable 구성 요소에서 nf_flow_ip4_tunnel_proto() 함수가 IP 헤더의 IHL(Internet Header Length) 필드를 적절히 검증하지 않아 발생하는 취약점입니다. 악의적으로 조작된 IP 헤더를 사용할 경우 경계 외 메모리 접근(Out-of-bounds access)이 발생할 수 있습니다.
💡 쉬운 설명
인터넷 데이터 패킷의 헤더 정보가 조작되었을 때, 컴퓨터가 이를 잘못 읽어 메모리의 엉뚱한 곳을 건드리는 문제입니다. 이를 통해 해커가 시스템을 마비시키거나 권한을 탈취할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
netfilter: flowtable: Validate iph->ihl in nf_flow_ip4_tunnel_proto()
Add sanity check for iph->ihl field in nf_flow_ip4_tunnel_proto() before
using it to compute the header size, avoiding out-of-bounds access with
malformed IP headers.
While at it, use iph->protocol instead of the hardcoded IPPROTO_IPIP
constant when setting ctx->tun.proto and reference ctx->tun.hdr_size
when updating ctx->offset.
📍 영향받는 시스템
Linux Kernel (netfilter flowtable 관련 모듈 사용 시스템)
⚔️ 공격 벡터
조작된 IP 헤더를 포함한 네트워크 패킷을 전송하여 커널 메모리 경계 외 접근 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인