Skip to content
High 8.2

nerves_hub_webに認証されていない攻撃者から無限ループを起こされる脆弱性

CVE-2026-125275 First seen on SecPulse

Summary

未登録の認証局の証明書を使った接続で、TLSハンドシェイクが終わらなくなり、サービス妨害(DoS)を受けるおそれがあります。影響するのはnerves_hubの1.0.0から2.5.4より前の版で、2.5.4で修正されています。公開は2026年11月17日で、悪用の報告は確認されていません。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

未登録の認証局の証明書を使った接続で、TLSハンドシェイクが終わらなくなり、サービス妨害(DoS)を受けるおそれがあります。影響するのはnerves_hubの1.0.0から2.5.4より前の版で、2.5.4で修正されています。公開は2026年11月17日で、悪用の報告は確認されていません。

Affected packages

PackageAffected → Fixed
nerves-hubnerves_hub_web
≥ a49fb8875f3aab40062881028ef4e406d985aaa9, < 064e78cc189dd9b87748746f44179632a52ddf58→ 064e78cc189dd9b87748746f44179632a52ddf58
Original description The description as published by the source.

Summary

Loop with Unreachable Exit Condition ('Infinite Loop') vulnerability in device certificate verification in nerves-hub nerves_hub_web allows an unauthenticated remote attacker to cause a denial of service via a TLS client certificate whose CA is not registered. When a client certificate chains to a root in the device endpoint's trust store but no CA in the chain is registered in NervesHub, NervesHub.SSL.decide/2 refuses it with the reason :unknown_ca. Erlang/OTP ssl reads that reason as a missing trust anchor, looks for an alternative root, finds the same root and validates again without end. The handshake process queries the database on each pass and keeps running after the client disconnects, until the node restarts.

The device endpoint trusts the public roots from CAStore unless DEVICE_SSL_CACERTFILE is set, so a client certificate from a public CA whose chain allows client authentication is sufficient. A chain that ends at a root outside the trust store is refused once.

This issue affects nerves_hub: from 1.0.0 before 2.5.4.

Details

1. Refusal reason. The device endpoint gives ssl the verify function NervesHub.DeviceLink.PeerVerification.verify_fun/3, which asks NervesHub.SSL.decide/2. For a :valid_peer event on a certificate that is not on file, decide/2 tries to register the certificate. check_known_ca/1 in lib/nerves_hub/ssl.ex looks for the signer among the registered CAs and returns :unknown_ca when it finds none. `do_ver…

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details