🇰🇷 한글 설명
Linux 커널 4.14.8 이전의 Salsa20 암호화 알고리즘이 영 길이 입력을 올바르게 처리하지 못하여, AF_ALG 기반 skcipher 인터페이스를 통한 로컬 공격으로 서비스 거부 또는 커널 충돌을 초래합니다. Generic 및 x86 Salsa20 구현 모두가 영향받습니다.
💡 쉬운 설명
Linux 시스템의 암호화 기능 결함으로 같은 컴퓨터 접근권한이 있는 공격자가 시스템을 충돌시킬 수 있습니다. 원격 공격은 불가능하지만 로컬 접근만으로도 쉽게 악용됩니다.
🇺🇸 원문 (English)
The Salsa20 encryption algorithm in the Linux kernel before 4.14.8 does not correctly handle zero-length inputs, allowing a local attacker able to use the AF_ALG-based skcipher interface (CONFIG_CRYPTO_USER_API_SKCIPHER) to cause a denial of service (uninitialized-memory free and kernel crash) or have unspecified other impact by executing a crafted sequence of system calls that use the blkcipher_walk API. Both the generic implementation (crypto/salsa20_generic.c) and x86 implementation (arch/x86/crypto/salsa20_glue.c) of Salsa20 were vulnerable.
📍 영향받는 시스템
Linux kernel < 4.14.8 (모든 배포판)
⚔️ 공격 벡터
로컬 공격자가 AF_ALG 인터페이스로 영 길이 입력 처리 시 blkcipher_walk API 악용
🛡️ 대응 방법
Linux 커널을 4.14.8 이상으로 업그레이드
🔧 검증 코드
VULNERABLE 출력 = 커널 업그레이드 필요, PATCHED = 시스템 안전
uname -r | grep -E '^(4\.14\.[0-7]|[0-3]\.)' && echo "VULNERABLE" || echo "PATCHED"