# CVE-2022-23492: GO-2022-1148 - Resource exhaustion in github.com/libp2p/go-libp2p

Source: https://junglewise.ai/threats/cve-2022-23492-libp2p-dos-vulnerability-from-lack-of-resource-management  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-12-14  
License: CC BY 4.0 with a link back

CVE-2022-23492 · Severity: low · CVSS 3.1 · Published 2022-12-14

Resource exhaustion in github.com/libp2p/go-libp2p

Technologies: [github.com/libp2p/go-libp2p (Go)](https://junglewise.ai/threats/technologies/github-com-libp2p-go-libp2p). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2022-23492 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-23492 being exploited in the wild.

**How severe is CVE-2022-23492?** Low severity, with a CVSS score of 3.1, published 14 December 2022.

**Which products and versions are affected?** github.com/libp2p/go-libp2p (Go) SEMVER:introduced=0,fixed=0.18.0.

**Is there a fix for CVE-2022-23492?** Yes. github.com/libp2p/go-libp2p (Go): upgrade to 0.18.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-23492?** Check whether you run github.com/libp2p/go-libp2p (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/libp2p/go-libp2p (Go): upgrade to 0.18.0 or later

  ```sh
  go get github.com/libp2p/go-libp2p@v0.18.0
  ```


## Affected products

- github.com/libp2p/go-libp2p (Go) SEMVER:introduced=0,fixed=0.18.0

## Identifiers

- CVE-2022-23492
- GHSA-j7qp-mfxf-8xjw
- GO-2022-1148

## Related threats

- [GO-2023-2024 - Out-of-memory vulnerability in github.com/libp2p/go-libp2p](https://junglewise.ai/threats/cve-2023-40583-libp2p-nodes-vulnerable-to-oom-attack)
- [libp2p go-libp2p resource exhaustion via large RSA keys](https://junglewise.ai/threats/cve-2023-39533-libp2p-go-libp2p-resource-exhaustion-via-large-rsa-keys)
