🇰🇷 한글 설명
pam_usb 0.9.1 이하 버전에서 메모리 해제 시 버퍼 내용을 초기화하지 않는 취약점이 발견되었습니다. 이로 인해 디스크에서 읽어온 일회용 패드(OTP)와 같은 민감한 인증 데이터가 힙 메모리에 그대로 남게 됩니다. 공격자가 메모리 검사 권한을 가질 경우, 해제된 메모리 영역에서 인증 정보를 탈취할 수 있습니다.
💡 쉬운 설명
중요한 비밀번호 정보가 담긴 메모리를 지우지 않고 그냥 버리는 문제가 있습니다. 나중에 누군가 이 버려진 메모리 공간을 들여다보면 비밀 정보를 훔쳐볼 수 있습니다.
🇺🇸 원문 (English)
pam_usb provides hardware authentication for Linux using ordinary removable media. In versions 0.9.1 and below, the xfree() memory release helper in calls free() without first zeroing the buffer contents, releasing heap-allocated buffers containing sensitive data — including one-time pad bytes read from disk — without clearing, leaving the sensitive content in freed heap memory until it happens to be overwritten by a subsequent allocation. On a system where a use-after-free condition exists, or where a heap inspection primitive becomes available, this could allow recovery of pad values or other authentication material from freed memory regions. This is a defence-in-depth requirement consistent with prior hardening work in this codebase (GHSA-vx6f-rrqr-j87c applied explicit_bzero to some pad paths; this issue generalises the pattern to the central deallocation helper).
📍 영향받는 시스템
pam_usb 0.9.1 및 그 이하 버전
⚔️ 공격 벡터
메모리 검사 권한을 가진 공격자가 해제된 힙 메모리 영역을 조사하여 인증 데이터 탈취
🛡️ 대응 방법
pam_usb를 최신 버전으로 업데이트하거나, 메모리 해제 전 데이터를 0으로 초기화하도록 패치 적용
🔧 검증 코드
출력된 버전 번호가 0.9.1 이하인지 확인하십시오.
dpkg -l | grep pam-usb 2>/dev/null | awk '{print $3}'
📊 CVSS Vector String
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
💻 영향받는 소프트웨어
NVIDIA Cloud Gaming Guest Driver for Linux