@libp2p/gossipsubでメトリクスのラベルが無制限に増え、メモリを枯渇させられる脆弱性
Summary
@libp2p/gossipsubの17.2.3までのバージョンには、メトリクスが有効な場合に、リモートのピアが任意のトピック名を含むメッセージを送ることでメトリクスのレジストリを際限なく増やせる脆弱性があります。これによりNode.jsプロセスのメモリが枯渇するおそれがあります。CVSS v3.1は5.9(深刻度は中)、CVSS v4.0は8.2です。修正版の情報は公表されていないため、最新の情報を確認してください。
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.
@libp2p/gossipsubの17.2.3までのバージョンには、メトリクスが有効な場合に、リモートのピアが任意のトピック名を含むメッセージを送ることでメトリクスのレジストリを際限なく増やせる脆弱性があります。これによりNode.jsプロセスのメモリが枯渇するおそれがあります。CVSS v3.1は5.9(深刻度は中)、CVSS v4.0は8.2です。修正版の情報は公表されていないため、最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| libp2p@libp2p/gossipsub |
≤ 17.2.3→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
@libp2p/gossipsub through 17.2.3 contains an uncontrolled resource consumption vulnerability that allows remote peers to grow the metrics registry by sending messages with arbitrary topics when metrics are enabled. Attackers can send messages with unbounded distinct topic strings, creating never-removed labelled time series before validation, to exhaust Node.js process memory.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- package github.com
- web github.com
- web github.com
- web github.com
- web vulncheck.com
- web nvd.nist.gov
- web github.com