🔍 CVE-2025-24031

0.0
CVSS Score
UNKNOWN
2025-02-10
2026-06-17 08:57
✅ 완료

🇰🇷 한글 설명

PAM-PKCS#11 0.6.12 이하 버전에서 사용자가 PIN 입력 중 ctrl-c/ctrl-d를 입력하거나 PIN을 입력하지 않을 때, 초기화되지 않은 포인터를 역참조하면서 segfault가 발생합니다. 이로 인해 PAM을 사용하는 데몬이 크래시되어 시스템의 가용성이 영향을 받을 수 있습니다.

💡 쉬운 설명

Linux 로그인 시스템의 보안 모듈이 사용자가 PIN 입력을 취소했을 때 프로그램이 충돌합니다. 이는 로그인 서비스가 다운되어 시스템에 접근할 수 없게 합니다.

🇺🇸 원문 (English)

PAM-PKCS#11 is a Linux-PAM login module that allows a X.509 certificate based user login. In versions 0.6.12 and prior, the pam_pkcs11 module segfaults when a user presses ctrl-c/ctrl-d when they are asked for a PIN. When a user enters no PIN at all, `pam_get_pwd` will never initialize the password buffer pointer and as such `cleanse` will try to dereference an uninitialized pointer. On my system this pointer happens to have the value 3 most of the time when running sudo and as such it will segfault. The most likely impact to a system affected by this issue is an availability impact due to a daemon that uses PAM crashing. As of time of publication, a patch for the issue is unavailable.

📍 영향받는 시스템

PAM-PKCS#11 0.6.12 이하 버전 (Linux PAM 인증 시스템)

⚔️ 공격 벡터

로그인 PIN 입력 화면에서 ctrl-c/ctrl-d 입력 또는 PIN 미입력 후 엔터

🛡️ 대응 방법

PAM-PKCS#11을 0.6.13 이상 패치 버전으로 업그레이드 (발표 당시 공식 패치 미제공)

🔧 검증 코드

설치된 pam-pkcs11 버전이 0.6.12 이하면 취약 상태

Shell / Script
dpkg -l pam-pkcs11 2>/dev/null | grep pam-pkcs11 || rpm -qa 2>/dev/null | grep pam-pkcs11

💻 영향받는 소프트웨어

Sudo