🔍 CVE-2017-17052

7.8
CVSS Score
HIGH
2017-11-29
2026-05-13 00:24
✅ 완료

🇰🇷 한글 설명

Linux 커널 4.12.10 이전 버전의 메모리 관리 구조체에서 새 프로세스의 실행 파일 포인터(->exe_file)가 제대로 초기화되지 않아, 로컬 공격자가 use-after-free 취약점을 악용할 수 있습니다. 악의적인 프로그램 실행으로 권한 상승이나 시스템 영향을 미칠 수 있습니다.

💡 쉬운 설명

컴퓨터가 메모리에서 오래된 데이터를 제대로 정리하지 않아서, 같은 컴퓨터를 쓰는 일반 사용자가 이미 제거된 데이터에 접근해 시스템을 손상시킬 수 있습니다. 외부 인터넷 공격이 아닌 컴퓨터 내부에서만 공격 가능합니다.

🇺🇸 원문 (English)

The mm_init function in kernel/fork.c in the Linux kernel before 4.12.10 does not clear the ->exe_file member of a new process's mm_struct, allowing a local attacker to achieve a use-after-free or possibly have unspecified other impact by running a specially crafted program.

📍 영향받는 시스템

Linux kernel versions before 4.12.10 (all distributions using affected kernel)

⚔️ 공격 벡터

Local attacker with user account privileges executes malicious program triggering use-after-free through uninitialized exe_file pointer

🛡️ 대응 방법

Upgrade Linux kernel to 4.12.10 or later (e.g., apt-get install linux-image-4.12.10+ or use distribution's kernel update)

🔧 검증 코드

커널 버전 4.12.10 이상이면 'Safe' 출력 (패치됨), 미만이면 'Vulnerable' 출력 (취약함) - 예: 4.12.9는 취약, 4.13.0은 안전

Shell / Script
uname -r | awk -F. '{if($1==4 && $2==12 && $3>=10) print "Safe"; else if($1==4 && $2==12 && $3<10) print "Vulnerable"; else if($1>4 || ($1==4 && $2>12)) print "Safe"; else print "Vulnerable"}'

📊 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