🔍 CVE-2026-16615

6.8
CVSS Score
MEDIUM
2026-07-22
2026-09-01 18:17
✅ 완료

🇰🇷 한글 설명

librest 라이브러리의 OAuth PKCE 구현에서 암호학적으로 안전하지 않은 GLib의 GRand 함수를 사용하여 보안 취약점이 발견되었습니다. 생성된 'code verifier'의 엔트로피가 부족하여 공격자가 난수 생성기 시드를 역공학함으로써 예측하거나 재구성할 수 있으며, 이를 통해 PKCE 보호를 우회하고 OAuth 2.0 인증 과정에서 클라이언트를 사칭할 수 있습니다.

💡 쉬운 설명

로그인 인증 과정에서 사용하는 비밀번호와 같은 임시 코드가 예측 가능한 방식으로 만들어지는 문제입니다. 해커가 이 코드를 미리 알아내어 사용자인 척 로그인 과정을 가로챌 수 있습니다.

🇺🇸 원문 (English)

A flaw was found in librest. The PKCE implementation for OAuth authorization uses the GRand function from the GLib API, a cryptographically insecure pseudo-random number generator. Because the generated "code verifier" lacks sufficient cryptographic entropy, a malicious actor can reverse-engineer the pseudo-random number generator (PRNG) seed to predict or reconstruct the code verifier string, allowing an attacker to bypass PKCE protections and successfully impersonate the client during the OAuth 2.0 authorization flow.

📍 영향받는 시스템

librest 라이브러리가 포함된 시스템 및 해당 라이브러리를 사용하는 애플리케이션

⚔️ 공격 벡터

취약한 난수 생성기를 역공학하여 PKCE code verifier를 예측 및 재구성

🛡️ 대응 방법

암호학적으로 안전한 난수 생성기(CSPRNG)를 사용하도록 librest 라이브러리를 최신 버전으로 업데이트

🔧 검증 코드

출력된 librest의 버전을 확인하여 보안 패치가 적용된 최신 버전인지 확인합니다.

Shell / Script
dpkg -l | grep librest 2>/dev/null

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N

💻 영향받는 소프트웨어

Storage Protect Client