🔍 CVE-2022-50410

9.8
CVSS Score
CRITICAL
2025-09-18
2026-08-04 10:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 NFSD에서 NFSv2 READ 작업 시 전송 버퍼 오버플로우가 발생할 수 있는 취약점입니다. 공격자가 비정상적으로 큰 RPC Call 헤더를 포함한 레코드를 전송함으로써 전송 버퍼 크기를 강제로 축소시켜 메모리 오버플로우를 유발할 수 있습니다.

💡 쉬운 설명

네트워크를 통해 파일을 주고받는 과정에서, 공격자가 특수하게 조작된 데이터를 보내 서버의 메모리 관리 체계를 교란하는 문제입니다. 이로 인해 서버가 예상치 못한 동작을 하거나 시스템이 중단될 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: NFSD: Protect against send buffer overflow in NFSv2 READ Since before the git era, NFSD has conserved the number of pages held by each nfsd thread by combining the RPC receive and send buffers into a single array of pages. This works because there are no cases where an operation needs a large RPC Call message and a large RPC Reply at the same time. Once an RPC Call has been received, svc_process() updates svc_rqst::rq_res to describe the part of rq_pages that can be used for constructing the Reply. This means that the send buffer (rq_res) shrinks when the received RPC record containing the RPC Call is large. A client can force this shrinkage on TCP by sending a correctly- formed RPC Call header contained in an RPC record that is excessively large. The full maximum payload size cannot be constructed in that case.

📍 영향받는 시스템

NFSv2를 사용하는 Linux 커널 기반 시스템

⚔️ 공격 벡터

TCP를 통해 조작된 대용량 RPC Call 헤더를 포함한 RPC 레코드를 전송

🛡️ 대응 방법

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

🔧 검증 코드

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

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Git