🔍 CVE-2021-4160

5.9
CVSS Score
MEDIUM
2022-01-28
2026-06-17 04:19
✅ 완료

🇰🇷 한글 설명

MIPS32 및 MIPS64 아키텍처의 OpenSSL 제곱 연산 과정에서 올림수 전파(carry propagation) 오류가 발견되었습니다. 이 결함은 TLS 1.3의 기본 곡선을 포함한 여러 타원 곡선(EC) 알고리즘에 영향을 미치며, DH(Diffie-Hellman) 키 교환 시 공격자가 개인 키 정보를 유추할 가능성이 있습니다. 해당 문제는 MIPS 플랫폼 기반의 OpenSSL에서만 발생합니다.

💡 쉬운 설명

컴퓨터의 계산 방식 중 아주 미세한 수학적 오류가 있어, 암호화 키를 계산할 때 잘못된 값이 나올 수 있는 문제입니다. 이로 인해 해커가 아주 어렵지만 이론적으로는 암호 키를 알아낼 수도 있는 위험이 있습니다.

🇺🇸 원문 (English)

There is a carry propagation bug in the MIPS32 and MIPS64 squaring procedure. Many EC algorithms are affected, including some of the TLS 1.3 default curves. Impact was not analyzed in detail, because the pre-requisites for attack are considered unlikely and include reusing private keys. Analysis suggests that attacks against RSA and DSA as a result of this defect would be very difficult to perform and are not believed likely. Attacks against DH are considered just feasible (although very difficult) because most of the work necessary to deduce information about a private key may be performed offline. The amount of resources required for such an attack would be significant. However, for an attack on TLS to be meaningful, the server would have to share the DH private key among multiple clients, which is no longer an option since CVE-2016-0701. This issue affects OpenSSL versions 1.0.2, 1.1.1 and 3.0.0. It was addressed in the releases of 1.1.1m and 3.0.1 on the 15th of December 2021. For the 1.0.2 release it is addressed in git commit 6fc1aaaf3 that is available to premium support customers only. It will be made available in 1.0.2zc when it is released. The issue only affects OpenSSL on MIPS platforms. Fixed in OpenSSL 3.0.1 (Affected 3.0.0). Fixed in OpenSSL 1.1.1m (Affected 1.1.1-1.1.1l). Fixed in OpenSSL 1.0.2zc-dev (Affected 1.0.2-1.0.2zb).

📍 영향받는 시스템

OpenSSL 1.0.2, 1.1.1, 3.0.0 버전 (MIPS 플랫폼 한정)

⚔️ 공격 벡터

MIPS 아키텍처 기반 시스템에서 DH 키 교환 과정 중 오프라인 연산을 통한 개인 키 정보 유추

🛡️ 대응 방법

OpenSSL을 1.1.1m, 3.0.1 또는 1.0.2zc 이상의 최신 보안 패치 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 버전이 1.1.1m, 3.0.1 또는 1.0.2zc 이상인지 확인하여 취약 여부를 판단합니다.

Shell / Script
openssl version

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

OpenSSL