🇰🇷 한글 설명
Linux 커널의 USB CDC 드라이버에서 cdc_parse_cdc_header 함수의 경계 검사 미흡으로 인한 취약점입니다. 조작된 USB 장치를 통해 로컬 사용자가 시스템 충돌(서비스 거부)이나 기타 영향을 유발할 수 있으며, 4.13.6 이전의 모든 Linux 커널 버전이 영향을 받습니다.
💡 쉬운 설명
A crafted USB device can crash a Linux system because of a flaw in how the system reads USB device information. An attacker with physical access could exploit this vulnerability to cause a denial of service.
🇺🇸 원문 (English)
The cdc_parse_cdc_header function in drivers/usb/core/message.c in the Linux kernel before 4.13.6 allows local users to cause a denial of service (out-of-bounds read and system crash) or possibly have unspecified other impact via a crafted USB device.
📍 영향받는 시스템
Linux kernel versions < 4.13.6 (all distributions)
⚔️ 공격 벡터
Local attack via crafted USB device requiring physical access to connect malicious USB device
🛡️ 대응 방법
Update Linux kernel to version 4.13.6 or later using distribution package manager or kernel build from source
🔧 검증 코드
커널 버전이 4.13.6 이상이면 'PATCHED', 그 이하면 'VULNERABLE' 표시 (VULNERABLE = 취약, 업데이트 필요)
uname -r | awk -F'[-.]' '{if ($1<4 || ($1==4 && $2<13) || ($1==4 && $2==13 && $3<6)) print "VULNERABLE"; else print "PATCHED"}'