🇰🇷 한글 설명
Linux 커널의 keyctl_pkey_params_get_2() 함수에서 내부 출력 버퍼의 길이를 잘못 계산하여 발생하는 오버플로우 취약점입니다. 너무 작은 버퍼가 제공될 경우 메모리 오버플로우가 발생할 수 있으며, 이를 방지하기 위해 암호화 프리미티브의 최대 길이에 맞춰 버퍼를 할당하도록 수정되었습니다.
💡 쉬운 설명
리눅스 시스템의 암호화 키를 다루는 과정에서 메모리 공간을 계산하는 실수로 인해 발생하는 문제입니다. 공격자가 이 허점을 이용하면 시스템의 메모리를 넘치게 만들어 오류를 일으키거나 보안을 위협할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
KEYS: fix overflow in keyctl_pkey_params_get_2()
The length for the internal output buffer is calculated incorrectly, which
can result overflow when a too small buffer is provided.
Fix the bug by allocating internal output with the size of the maximum
length of the cryptographic primitive instead of caller provided size.
📍 영향받는 시스템
Linux Kernel (keyctl_pkey_params_get_2 함수를 사용하는 버전)
⚔️ 공격 벡터
잘못된 크기의 버퍼를 인자로 전달하여 메모리 오버플로우를 유도하는 방식
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.