Vulnerability in github.com/libp2p/go-libp2p
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.
A vulnerability tracked as CVE-2023-39533 has been found in github.com/libp2p/go-libp2p.
Risk of unauthorized operations or information disclosure. CVSS score: 7.5/10.
What to do: upgrade github.com/libp2p/go-libp2p to 0.29.1 or later.
If unsure, ask your IT team or search "github.com/libp2p/go-libp2p CVE-2023-39533" on the vendor's site.
CVE-2023-39533 (github.com/libp2p/go-libp2p) — CWE-770 / CVSS v3 7.5
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Patched: 0.29.1 — apply immediately
Workaround: There are no known workarounds
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (CWE-770) exists in github.com/libp2p/go-libp2p.
Check the vendor advisory for the affected versions of github.com/libp2p/go-libp2p.
Severity: High (CVSS 7.5/10). Risk of unauthorized operations or information disclosure.
Update to 0.29.1.
Workaround: There are no known workarounds
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'github.com/libp2p/go-libp2p' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'github.com/libp2p/go-libp2p' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
github.com/libp2p/go-libp2pを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply temporary workaroundmitigate
There are no known workaroundsパッチが適用されるまでの応急処置として、There are no known workarounds を実施。回避策の副作用 (機能低下) を確認した上で。
-
3
Apply patchpatch
Upgrade github.com/libp2p/go-libp2p to 0.29.1ステージング環境で 0.29.1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| gogithub.com/libp2p/go-libp2p |
≥ 0.29.0, < 0.29.1→ 0.29.1 |
0.29.1 |
Original description The description as published by the source.
go-libp2p is the Go implementation of the libp2p Networking Stack. Prior to versions 0.27.8, 0.28.2, and 0.29.1 malicious peer can use large RSA keys to run a resource exhaustion attack & force a node to spend time doing signature verification of the large key. This vulnerability is present in the core/crypto module of go-libp2p and can occur during the Noise handshake and the libp2p x509 extension verification step. To prevent this attack, go-libp2p versions 0.27.8, 0.28.2, and 0.29.1 restrict RSA keys to <= 8192 bits. To protect one's application, it is necessary to update to these patch releases and to use the updated Go compiler in 1.20.7 or 1.19.12. There are no known workarounds for this issue.
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- report github.com
- web nrdax.com
- web go.dev
- web github.com