🔍 CVE-2022-43945

7.5
CVSS Score
HIGH
2022-11-04
2026-10-14 19:16
✅ 완료

🇰🇷 한글 설명

Linux 커널 NFSD 구현의 버퍼 오버플로우 취약점으로, 인증된 공격자가 TCP를 통해 RPC 메시지 끝에 쓰레기 데이터를 추가하여 전송 버퍼를 축소하도록 강제할 수 있습니다. NFSD는 예기치 않은 대형 요청에 대해 할당된 버퍼 공간을 초과하여 쓰기를 수행하게 되어 서비스 거부를 초래합니다.

💡 쉬운 설명

Linux의 네트워크 파일 공유 기능에서 공격자가 특수한 데이터를 보내 메모리를 손상시킬 수 있습니다. 이로 인해 영향받는 시스템이 응답하지 않거나 작동을 멈출 수 있습니다.

🇺🇸 원문 (English)

The Linux kernel NFSD implementation prior to versions 5.19.17 and 6.0.2 are vulnerable to buffer overflow. NFSD tracks the number of pages held by each NFSD thread by combining the receive and send buffers of a remote procedure call (RPC) into a single array of pages. A client can force the send buffer to shrink by sending an RPC message over TCP with garbage data added at the end of the message. The RPC message with garbage data is still correctly formed according to the specification and is passed forward to handlers. Vulnerable code in NFSD is not expecting the oversized request and writes beyond the allocated buffer space. CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

📍 영향받는 시스템

Linux kernel < 5.19.17 and < 6.0.2 with NFSD enabled

⚔️ 공격 벡터

Network-based authenticated attack via TCP with crafted RPC messages containing appended garbage data to trigger buffer overflow in NFSD

🛡️ 대응 방법

Upgrade Linux kernel to version 5.19.17, 6.0.2 or later

🔧 검증 코드

Kernel versions below 5.19.17 (for 5.x) or 6.0.2 (for 6.x) are vulnerable; upgrade if affected

Shell / Script
uname -r | cut -d'-' -f1

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel