🔍 CVE-2024-41091

8.8
CVSS Score
HIGH
2024-07-29
2026-08-04 11:19
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 tun 드라이버에서 프레임 길이에 대한 검증이 누락되어 발생하는 취약점입니다. 이로 인해 잘못된 길이의 skb(socket buffer)가 하위 스택으로 전달되어 메모리 경계 외 접근(out-of-bound access)이나 네트워크 헤더 정보의 불일치를 유발할 수 있습니다.

💡 쉬운 설명

네트워크 데이터를 처리할 때 데이터의 길이가 너무 짧은지 확인하지 않아 발생하는 오류입니다. 이 오류를 이용하면 시스템의 메모리 영역을 잘못 건드리거나 네트워크 통신에 혼란을 줄 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: tun: add missing verification for short frame The cited commit missed to check against the validity of the frame length in the tun_xdp_one() path, which could cause a corrupted skb to be sent downstack. Even before the skb is transmitted, the tun_xdp_one-->eth_type_trans() may access the Ethernet header although it can be less than ETH_HLEN. Once transmitted, this could either cause out-of-bound access beyond the actual length, or confuse the underlayer with incorrect or inconsistent header length in the skb metadata. In the alternative path, tun_get_user() already prohibits short frame which has the length less than Ethernet header size from being transmitted for IFF_TAP. This is to drop any frame shorter than the Ethernet header size just like how tun_get_user() does. CVE: CVE-2024-41091

📍 영향받는 시스템

Linux Kernel (tun 드라이버를 사용하는 시스템)

⚔️ 공격 벡터

조작된 짧은 길이의 네트워크 프레임을 tun 장치를 통해 전송

🛡️ 대응 방법

리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel