CVE-2026-58227
CBL Mariner 취약성 분석 및 완화

개요

CVE-2026-58227 is a TLS/DTLS Denial-of-Service vulnerability in the Erlang/OTP ssl application caused by uncontrolled recursion during certificate chain reconstruction. When a peer supplies two mutually cross-signed certificates in unordered form (A issues B, B issues A), the chain-building logic in ssl_certificate:handle_incomplete_chain/5 enters unbounded recursion with no cycle detection or depth limit, exhausting available memory and crashing the BEAM node. The vulnerability affects OTP versions from 23.2 before 29.0.4, 28.5.0.4, and 27.3.4.15 (corresponding to ssl library versions 10.2 before 11.7.4, 11.6.0.4, and 11.2.12.11). It was disclosed on July 27, 2026, and carries a CVSS v3.1 base score of 7.5 (High) and a CVSS v4.0 base score of 8.7 (High) (GitHub Advisory, Feedly).

기술적 세부 사항

The root cause is CWE-674 (Uncontrolled Recursion) in ssl_certificate.erl. Specifically, ssl_certificate:handle_incomplete_chain/5 passes the received certificate chain to ssl_certificate:build_certificate_chain/5, which walks issuer relationships via ssl_certificate:do_certificate_chain/7 without any cycle detection or maximum depth enforcement. When two mutually cross-signed certificates are present (cert A signed by B, cert B signed by A), the issuer lookup alternates indefinitely between the two, growing both the call stack and chain accumulator without bound until the BEAM process runs out of memory. The fix replaces the recursive chain-building approach for unordered/extraneous certificates with an acyclic directed graph (digraph:new([acyclic])) and adds a MAX_CHAIN depth limit of 12, along with a DER-based duplicate certificate check in do_certificate_chain (GitHub Commit, GitHub Advisory).

영향

Successful exploitation results in complete availability loss of the targeted BEAM node — the process exhausts available memory and crashes. Both TLS/DTLS servers and clients are affected when processing peer Certificate messages, meaning any Erlang/OTP application using the ssl library for TLS or DTLS communication is at risk. There is no confidentiality or integrity impact; the attack is purely a Denial-of-Service. Because only a TCP connection and a partial handshake are required — no authentication or completed handshake is needed — the attack surface is broad and the barrier to exploitation is very low (GitHub Advisory, Feedly).

악용 가능성

No public proof-of-concept exploit code has been observed, and there is no evidence of in-the-wild exploitation at the time of disclosure (Feedly). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.35%, reflecting a currently low probability of exploitation in the near term. However, the attack is highly automatable (NVD SSVC: automatable=yes) — requiring only a TCP connection and a crafted TLS Certificate message — making it straightforward to weaponize against any exposed Erlang/OTP TLS endpoint (Feedly).

착취 단계

  1. Reconnaissance: Identify internet-facing services built on Erlang/OTP that expose TLS or DTLS endpoints (e.g., RabbitMQ, Ejabberd, CouchDB, or custom Erlang applications). Use tools like Shodan or Censys to find services advertising Erlang-based TLS stacks, or target known OTP versions 23.2 through 29.0.3.
  2. Generate malicious certificate pair: Create two self-referential, mutually cross-signed certificates using OpenSSL or a custom script — Certificate A signed by Certificate B's key, and Certificate B signed by Certificate A's key — forming a cycle.
  3. Initiate TLS/DTLS handshake: Establish a TCP connection to the target's TLS or DTLS port and begin a handshake. No prior authentication or credential is required.
  4. Send crafted Certificate message: During the handshake, transmit a TLS Certificate message containing the two mutually cross-signed certificates in unordered form (e.g., [A, B] where A issues B and B issues A).
  5. Trigger unbounded recursion: The target's ssl_certificate:handle_incomplete_chain/5 receives the chain and calls build_certificate_chain/5, which recurses indefinitely between the two certificates via do_certificate_chain/7 with no cycle detection.
  6. BEAM node crash: The call stack and chain accumulator grow without bound, exhausting available memory and crashing the BEAM node, resulting in a complete Denial-of-Service of the target application (GitHub Advisory, Feedly).

타협의 징후

  • Network: Unexpected or repeated TLS/DTLS connection attempts that do not complete a full handshake; connections that terminate abruptly after the Certificate message exchange phase.
  • Logs: Erlang crash dump files (erl_crash.dump) generated in the application working directory, indicating BEAM node memory exhaustion; OTP error logger entries showing process termination due to system_limit or out-of-memory errors during TLS handshake processing.
  • Process: Sudden termination of the BEAM VM process (beam.smp or erl) without a graceful shutdown signal; abnormal memory growth in the Erlang VM process immediately preceding a crash, observable via OS-level monitoring tools (e.g., top, ps, or application performance monitors).
  • Application: Service unavailability of Erlang-based applications (e.g., RabbitMQ, Ejabberd) coinciding with inbound TLS connection activity from unexpected or untrusted sources.

완화 및 해결 방법

Upgrade Erlang/OTP to one of the patched versions: OTP 29.0.4, OTP 28.5.0.4, or OTP 27.3.4.15 (corresponding to ssl library versions 11.7.4, 11.6.0.4, and 11.2.12.11 respectively). No official workaround is provided by the vendor for systems that cannot be immediately patched. As a compensating control, implement network-level access controls (firewalls, TLS termination proxies) to restrict untrusted or unauthenticated TLS/DTLS connections to affected Erlang/OTP services, reducing the attack surface until patching is feasible (GitHub Advisory, Feedly).

커뮤니티 반응

The vulnerability was responsibly disclosed by Lukas Backström at Erlang Solutions, who is credited in the official GitHub Security Advisory (GitHub Advisory). Security news outlets including SecurityOnline.info covered the disclosure alongside other Erlang/OTP vulnerabilities. Tenable published Nessus detection plugins (IDs 330376 and 331347) shortly after disclosure, indicating prompt uptake by the vulnerability management community (Feedly).

추가 자료


근원이 보고서는 AI를 사용하여 생성되었습니다.

관련 CBL Mariner 취약점:

CVE ID

심각도

점수

기술

구성 요소 이름

CISA KEV 익스플로잇

수정 사항이 있습니다.

게시된 날짜

CVE-2026-55995HIGH8.7
  • CBL Mariner logoCBL Mariner
  • isns-utils
아니요Jul 29, 2026
CVE-2026-59251HIGH8.7
  • CBL Mariner logoCBL Mariner
  • cpe:2.3:a:erlang:erlang\/otp
아니요Jul 27, 2026
CVE-2026-58227HIGH8.7
  • CBL Mariner logoCBL Mariner
  • cpe:2.3:a:erlang:erlang\/otp
아니요Jul 27, 2026
CVE-2026-44944HIGH8.5
  • CBL Mariner logoCBL Mariner
  • iscsi-initiator-utils
아니요Jul 29, 2026
CVE-2026-44943MEDIUM6.9
  • CBL Mariner logoCBL Mariner
  • open-iscsi
아니요Jul 29, 2026

무료 취약성 평가

클라우드 보안 태세를 벤치마킹합니다

9개의 보안 도메인에서 클라우드 보안 관행을 평가하여 위험 수준을 벤치마킹하고 방어의 허점을 식별합니다.

평가 요청

추가 Wiz 리소스

맞춤형 데모 받기

맞춤형 데모 신청하기

"내가 본 최고의 사용자 경험은 클라우드 워크로드에 대한 완전한 가시성을 제공합니다."
데이비드 에슬릭최고정보책임자(CISO)
"Wiz는 클라우드 환경에서 무슨 일이 일어나고 있는지 볼 수 있는 단일 창을 제공합니다."
아담 플레처최고 보안 책임자(CSO)
"우리는 Wiz가 무언가를 중요한 것으로 식별하면 실제로 중요하다는 것을 알고 있습니다."
그렉 포니아토프스키위협 및 취약성 관리 책임자