🔍 CVE-2026-58227

7.5
CVSS Score
HIGH
2026-07-27
2026-10-24 13:10
✅ 완료

🇰🇷 한글 설명

Erlang/OTP의 ssl 애플리케이션이 TLS/DTLS 핸드셰이크 중 불완전한 피어 인증서 체인을 재구성할 때 순환 참조를 감지하지 못하는 취약점입니다. 공격자가 상호 서명된 인증서 체인을 전송하면 무한 재귀 호출이 발생하여 메모리가 고갈되고 BEAM 노드가 충돌할 수 있습니다.

💡 쉬운 설명

인증서가 서로를 보증하는 꼬리에 꼬리를 무는 구조를 악용하여 서버를 마비시키는 공격입니다. 공격자가 특수하게 조작된 인증서를 보내면 서버가 무한 루프에 빠져 메모리가 가득 차고 결국 꺼지게 됩니다.

🇺🇸 원문 (English)

The Erlang/OTP ssl application does not detect cycles when reconstructing an incomplete peer certificate chain during a TLS or DTLS handshake. In ssl_certificate:handle_incomplete_chain/5, the received chain is passed to ssl_certificate:build_certificate_chain/5, which walks issuer relationships via ssl_certificate:do_certificate_chain/7 with no cycle detection and no depth limit. When the peer supplies two mutually cross-signed certificates in unordered form (A issues B, B issues A), the issuer lookup alternates between the two certificates and the pair of functions recurses indefinitely, growing the call stack and chain accumulator without bound. An unauthenticated remote attacker can send a crafted certificate chain in a TLS or DTLS Certificate handshake message to exhaust available memory and crash the BEAM node. Only a TCP connection and a partial handshake are required; no authentication or completed handshake is needed, and both TLS/DTLS servers and clients are affected when processing peer certificate messages. This issue affects OTP from OTP 23.2 before OTP 29.0.4, OTP 28.5.0.4 and OTP 27.3.4.15, corresponding to ssl from 10.2 before 11.7.4, 11.6.0.4 and 11.2.12.11.

📍 영향받는 시스템

OTP 23.2 미만(29.0.4 미만 포함), 28.5.0.4 미만, 27.3.4.15 미만 버전 및 해당 ssl 라이브러리

⚔️ 공격 벡터

인증되지 않은 원격 공격자가 조작된 인증서 체인을 포함한 TLS/DTLS 핸드셰이크 메시지를 전송

🛡️ 대응 방법

Erlang/OTP를 최신 보안 패치 버전(OTP 29.0.4, 28.5.0.4, 27.3.4.15 이상)으로 업데이트

🔧 검증 코드

출력된 OTP 버전이 취약점이 해결된 버전(29.0.4, 28.5.0.4, 27.3.4.15 이상)인지 확인

Shell / Script
erl -eval 'io:format("~s~n", [erlang:system_info(otp_release)]), halt().' -noshell

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

IBM WebSphere Application Server