🔍 CVE-2022-48828

9.1
CVSS Score
CRITICAL
2024-07-16
2026-10-14 19:16
✅ 완료

🇰🇷 한글 설명

Linux 커널의 NFSD에서 ia_size 언더플로우 취약점이 발견되었습니다. NFSv3 및 NFSv4 클라이언트가 Linux가 처리할 수 있는 범위를 초과하는 파일 크기 값을 전송할 경우, 부호 있는 64비트 정수형인 ia_size에서 언더플로우가 발생할 수 있습니다.

💡 쉬운 설명

NFS라는 파일 공유 서비스를 사용할 때, 공격자가 아주 큰 파일 크기 정보를 보내면 컴퓨터가 숫자를 잘못 계산하게 만드는 오류입니다. 이로 인해 시스템의 데이터가 꼬이거나 예상치 못한 동작이 발생할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: NFSD: Fix ia_size underflow iattr::ia_size is a loff_t, which is a signed 64-bit type. NFSv3 and NFSv4 both define file size as an unsigned 64-bit type. Thus there is a range of valid file size values an NFS client can send that is already larger than Linux can handle. Currently decode_fattr4() dumps a full u64 value into ia_size. If that value happens to be larger than S64_MAX, then ia_size underflows. I'm about to fix up the NFSv3 behavior as well, so let's catch the underflow in the common code path: nfsd_setattr().

📍 영향받는 시스템

NFSv3 또는 NFSv4를 사용하는 Linux 커널 기반 시스템

⚔️ 공격 벡터

악의적인 NFS 클라이언트가 S64_MAX를 초과하는 매우 큰 파일 크기 값을 서버로 전송

🛡️ 대응 방법

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

🔧 검증 코드

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

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel