🔍 CVE-2024-43845

7.8
CVSS Score
HIGH
2024-08-17
2026-08-04 11:19
✅ 완료

🇰🇷 한글 설명

Linux 커널의 UDF(Universal Disk Format) 파일 시스템 구현 중 udf_rename() 함수에서 잘못된 체크섬 계산 취약점이 발견되었습니다. 디렉터리 이동 시 '..' 항목의 체크섬을 업데이트하는 과정에서 초기화되지 않은 스택 메모리에 접근하여 무작위 데이터를 체크섬에 포함하는 문제가 있었습니다.

💡 쉬운 설명

파일 이름을 바꾸는 과정에서 컴퓨터 메모리의 잘못된 부분을 읽어 데이터 검증 값(체크섬)을 계산하는 오류가 있었습니다. 다행히 실제 데이터가 손상되지는 않지만, 시스템의 안정성에 영향을 줄 수 있는 잠재적 결함입니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: udf: Fix bogus checksum computation in udf_rename() Syzbot reports uninitialized memory access in udf_rename() when updating checksum of '..' directory entry of a moved directory. This is indeed true as we pass on-stack diriter.fi to the udf_update_tag() and because that has only struct fileIdentDesc included in it and not the impUse or name fields, the checksumming function is going to checksum random stack contents beyond the end of the structure. This is actually harmless because the following udf_fiiter_write_fi() will recompute the checksum from on-disk buffers where everything is properly included. So all that is needed is just removing the bogus calculation.

📍 영향받는 시스템

UDF 파일 시스템을 사용하는 Linux 커널 버전

⚔️ 공격 벡터

로컬 공격자가 UDF 파일 시스템 내에서 디렉터리 이름을 변경하는 조작을 통해 발생 가능

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 잘못된 체크섬 계산 로직을 제거해야 합니다.

🔧 검증 코드

현재 실행 중인 커널 버전을 확인하여 해당 취약점이 해결된 최신 패치 버전인지 확인합니다.

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel