🔍 CVE-2021-28714

6.5
CVSS Score
MEDIUM
2022-01-06
2026-06-17 03:46
✅ 완료

🇰🇷 한글 설명

게스트가 Linux netback 드라이버의 버퍼링 메커니즘을 악용하여 커널 메모리를 과도하게 점유할 수 있는 취약점입니다. 특정 조건에서 타임아웃이 발생하지 않도록 조작함으로써 기가바이트 단위의 데이터를 축적하여 시스템 자원을 고갈시킬 수 있습니다.

💡 쉬운 설명

가상 머신 내부의 사용자가 의도적으로 데이터를 쌓아두어 컴퓨터의 핵심 메모리를 모두 써버리게 만드는 공격입니다. 이로 인해 전체 시스템이 느려지거나 멈출 수 있습니다.

🇺🇸 원문 (English)

Guest can force Linux netback driver to hog large amounts of kernel memory T[his CNA information record relates to multiple CVEs; the text explains which aspects/vulnerabilities correspond to which CVE.] Incoming data packets for a guest in the Linux kernel's netback driver are buffered until the guest is ready to process them. There are some measures taken for avoiding to pile up too much data, but those can be bypassed by the guest: There is a timeout how long the client side of an interface can stop consuming new packets before it is assumed to have stalled, but this timeout is rather long (60 seconds by default). Using a UDP connection on a fast interface can easily accumulate gigabytes of data in that time. (CVE-2021-28715) The timeout could even never trigger if the guest manages to have only one free slot in its RX queue ring page and the next package would require more than one free slot, which may be the case when using GSO, XDP, or software hashing. (CVE-2021-28714)

📍 영향받는 시스템

Linux kernel netback driver (GSO, XDP, 또는 소프트웨어 해싱을 사용하는 환경)

⚔️ 공격 벡터

게스트 OS에서 수신 큐(RX queue)의 슬롯을 제한적으로 유지하며 대량의 UDP 패킷을 전송하여 커널 메모리 고갈 유도

🛡️ 대응 방법

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

🔧 검증 코드

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

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel