kcve.ai취약점 정보 · 내 자산 확인

CVE-2026-119793 libp2p: gossipsub creates a permanent topics-map entry per distinct subscription with no cap in the default config

설명

libp2p is a JavaScript implementation of the libp2p networking stack. Prior to 17.0.0, the @libp2p/gossipsub default configuration allows a connected remote peer to submit unsigned subscription RPC metadata for arbitrarily many distinct topic strings. handleReceivedSubscription in packages/gossipsub/src/gossipsub.ts creates a persistent topics-map entry for each accepted topic, while allowedTopics is unset by default, decodeRpc maxSubscriptions limits only one RPC rather than aggregate topic bytes, and peer scoring has no subscription-volume penalty. A single peer can therefore grow the topics map and committed heap toward out-of-memory conditions, and disconnecting additionally causes removePeer to scan all accumulated topic entries. This issue is fixed in version 17.0.0.

영향 받는 제품 제품 2개

  • libp2p

    js-libp2p

    해결 버전 있음

    영향 받는 버전

    • 3.3.9 미만

    해결 버전

    • 3.3.9 이상
  • @libp2p

    gossipsub

    해결 버전 있음

    영향 받는 버전

    • 17.0.0 미만

    해결 버전

    • 17.0.0 이상

참고 자료 4건

‹ 목록

점검 지원 범위 문의

도입 문의