🔍 CVE-2024-4603

5.3
CVSS Score
MEDIUM
2024-05-16
2026-06-17 08:02
✅ 완료

🇰🇷 한글 설명

OpenSSL의 EVP_PKEY_param_check() 및 EVP_PKEY_public_check() 함수가 과도하게 긴 DSA 키를 처리할 때 심각하게 느려져 서비스 거부(DoS) 공격에 취약합니다. 신뢰할 수 없는 출처의 DSA 키나 파라미터를 검증할 때 문제가 발생합니다.

💡 쉬운 설명

OpenSSL에서 매우 큰 DSA 암호화 키를 확인하는 과정이 매우 오래 걸려서, 이를 악용해 시스템을 마비시킬 수 있습니다. 웹 애플리케이션이나 암호화 소프트웨어에서 사용자가 제공한 키를 검증할 때 위험합니다.

🇺🇸 원문 (English)

Issue summary: Checking excessively long DSA keys or parameters may be very slow. Impact summary: Applications that use the functions EVP_PKEY_param_check() or EVP_PKEY_public_check() to check a DSA public key or DSA parameters may experience long delays. Where the key or parameters that are being checked have been obtained from an untrusted source this may lead to a Denial of Service. The functions EVP_PKEY_param_check() or EVP_PKEY_public_check() perform various checks on DSA parameters. Some of those computations take a long time if the modulus (`p` parameter) is too large. Trying to use a very large modulus is slow and OpenSSL will not allow using public keys with a modulus which is over 10,000 bits in length for signature verification. However the key and parameter check functions do not limit the modulus size when performing the checks. An application that calls EVP_PKEY_param_check() or EVP_PKEY_public_check() and supplies a key or parameters obtained from an untrusted source could be vulnerable to a Denial of Service attack. These functions are not called by OpenSSL itself on untrusted DSA keys so only applications that directly call these functions may be vulnerable. Also vulnerable are the OpenSSL pkey and pkeyparam command line applications when using the `-check` option. The OpenSSL SSL/TLS implementation is not affected by this issue. The OpenSSL 3.0 and 3.1 FIPS providers are affected by this issue.

📍 영향받는 시스템

OpenSSL 3.0, 3.1 FIPS providers 및 pkey/pkeyparam 명령줄 도구를 사용하는 애플리케이션

⚔️ 공격 벡터

공격자가 의도적으로 매우 큰 모듈러스(10,000비트 이상)를 가진 DSA 키를 애플리케이션에 제공하여 검증 함수 처리 지연으로 DoS 유발

🛡️ 대응 방법

OpenSSL을 최신 보안 패치 버전으로 업그레이드하고, 신뢰할 수 없는 출처의 DSA 키 검증 전에 키 크기 제한 검사 추가

🔧 검증 코드

OpenSSL 3.0 또는 3.1 버전이 설치되어 있으면 취약 버전이며, 더 새로운 3.2 이상 버전으로 업그레이드 필요

Shell / Script
openssl version | grep -E 'OpenSSL 3\.[01]'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

OpenSSL