🇰🇷 한글 설명
Linux 커널 libceph에서 키 디코딩 시 크기 검증이 없어 고정 크기 버퍼에 과도한 데이터가 복사될 수 있는 취약점. CEPH_MAX_KEY_LEN 제한을 정의하여 인증 처리 중 키 크기를 사전 검증하고 버퍼 오버플로우를 방지하도록 수정되었음.
💡 쉬운 설명
Ceph 네트워크 저장소 프로토콜에서 암호화 키 크기를 확인하지 않아 메모리 손상이 발생할 수 있음. 커널 업데이트로 키 크기 제한을 추가하여 문제를 해결함.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
libceph: define and enforce CEPH_MAX_KEY_LEN
When decoding the key, verify that the key material would fit into
a fixed-size buffer in process_auth_done() and generally has a sane
length.
The new CEPH_MAX_KEY_LEN check replaces the existing check for a key
with no key material which is a) not universal since CEPH_CRYPTO_NONE
has to be excluded and b) doesn't provide much value since a smaller
than needed key is just as invalid as no key -- this has to be handled
elsewhere anyway.
📍 영향받는 시스템
Linux kernel < 6.1 (패치 적용 이전 버전) - Ceph client/server 기능 활성화된 배포판
⚔️ 공격 벡터
악의적인 Ceph 서버 또는 네트워크 중간자 공격을 통해 초과 크기 키 데이터 전송 → 메모리 버퍼 오버플로우 → 커널 패닉 또는 권한 상승
🛡️ 대응 방법
커널을 최신 버전으로 업그레이드하거나 linux-image-* 패키지 업데이트 적용
🔧 검증 코드
커널 버전이 6.1 이상이면 안전함. Ceph 관련 패키지가 최신 버전인지 확인하여 해당 취약점 패치 적용 여부 확인
uname -r && dpkg -l | grep -E 'linux-image|ceph' || rpm -qa | grep -E 'kernel|ceph'