🇰🇷 한글 설명
리눅스 커널의 netfilter nftables 구성 요소에서 4바이트 스택 범위 외(OOB) 쓰기 취약점이 발견되었습니다. 데이터 길이가 4의 배수인 경우 목적지 배열의 범위를 벗어나 스택을 손상시킬 수 있는 결함입니다.
💡 쉬운 설명
컴퓨터의 임시 저장 공간인 '스택'에 정해진 크기보다 더 많은 데이터를 써서 시스템을 망가뜨릴 수 있는 오류입니다. 이로 인해 시스템이 멈추거나 해커가 권한을 탈취할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
netfilter: nftables: exthdr: fix 4-byte stack OOB write
If priv->len is a multiple of 4, then dst[len / 4] can write past
the destination array which leads to stack corruption.
This construct is necessary to clean the remainder of the register
in case ->len is NOT a multiple of the register size, so make it
conditional just like nft_payload.c does.
The bug was added in 4.1 cycle and then copied/inherited when
tcp/sctp and ip option support was added.
Bug reported by Zero Day Initiative project (ZDI-CAN-21950,
ZDI-CAN-21951, ZDI-CAN-21961).
📍 영향받는 시스템
4.1 사이클 이후 버전의 리눅스 커널 (nftables 사용 환경)
⚔️ 공격 벡터
조작된 네트워크 패킷을 전송하여 nftables의 확장 헤더 처리 과정에서 스택 오버플로우 유도
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 수정된 최신 패치 버전인지 확인