{"api_version":"1","generated_at":"2026-05-08T17:56:39+00:00","cve":"CVE-2022-23492","urls":{"html":"https://cve.report/CVE-2022-23492","api":"https://cve.report/api/cve/CVE-2022-23492.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-23492","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-23492"},"summary":{"title":"CVE-2022-23492","description":"go-libp2p is the offical libp2p implementation in the Go programming language. Version `0.18.0` and older of go-libp2p are vulnerable to targeted resource exhaustion attacks. These attacks target libp2p’s connection, stream, peer, and memory management. An attacker can cause the allocation of large amounts of memory, ultimately leading to the process getting killed by the host’s operating system. While a connection manager tasked with keeping the number of connections within manageable limits has been part of go-libp2p, this component was designed to handle the regular churn of peers, not a targeted resource exhaustion attack. Users are advised to upgrade their version of go-libp2p to version `0.18.1` or newer. Users unable to upgrade may consult the denial of service (dos) mitigation page for more information on how to incorporate mitigation strategies, monitor your application, and respond to attacks.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2022-12-08 01:15:00","updated_at":"2023-07-14 19:22:00"},"problem_types":["CWE-770"],"metrics":[],"references":[{"url":"https://github.com/libp2p/go-libp2p/security/advisories/GHSA-j7qp-mfxf-8xjw","name":"https://github.com/libp2p/go-libp2p/security/advisories/GHSA-j7qp-mfxf-8xjw","refsource":"MISC","tags":[],"title":"libp2p DoS vulnerability from lack of resource management · Advisory · libp2p/go-libp2p · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/libp2p/go-libp2p/commit/15d7dfbf54264ead8e6f49ca658d79c90635e2de","name":"https://github.com/libp2p/go-libp2p/commit/15d7dfbf54264ead8e6f49ca658d79c90635e2de","refsource":"MISC","tags":[],"title":"Merge pull request #1275 from libp2p/rcmgr · libp2p/go-libp2p@15d7dfb · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://docs.libp2p.io/reference/dos-mitigation/","name":"https://docs.libp2p.io/reference/dos-mitigation/","refsource":"MISC","tags":[],"title":"DOS Mitigation :: libp2p Documentation","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-23492","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23492","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"23492","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"protocol","cpe5":"libp2p","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"go","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2022-23492","ASSIGNER":"security-advisories@github.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"go-libp2p is the offical libp2p implementation in the Go programming language. Version `0.18.0` and older of go-libp2p are vulnerable to targeted resource exhaustion attacks. These attacks target libp2p’s connection, stream, peer, and memory management. An attacker can cause the allocation of large amounts of memory, ultimately leading to the process getting killed by the host’s operating system. While a connection manager tasked with keeping the number of connections within manageable limits has been part of go-libp2p, this component was designed to handle the regular churn of peers, not a targeted resource exhaustion attack. Users are advised to upgrade their version of go-libp2p to version `0.18.1` or newer. Users unable to upgrade may consult the denial of service (dos) mitigation page for more information on how to incorporate mitigation strategies, monitor your application, and respond to attacks."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-400: Uncontrolled Resource Consumption","cweId":"CWE-400"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"libp2p","product":{"product_data":[{"product_name":"go-libp2p","version":{"version_data":[{"version_value":"< 0.18.0","version_affected":"="}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/libp2p/go-libp2p/security/advisories/GHSA-j7qp-mfxf-8xjw","refsource":"MISC","name":"https://github.com/libp2p/go-libp2p/security/advisories/GHSA-j7qp-mfxf-8xjw"},{"url":"https://github.com/libp2p/go-libp2p/commit/15d7dfbf54264ead8e6f49ca658d79c90635e2de","refsource":"MISC","name":"https://github.com/libp2p/go-libp2p/commit/15d7dfbf54264ead8e6f49ca658d79c90635e2de"},{"url":"https://docs.libp2p.io/reference/dos-mitigation/","refsource":"MISC","name":"https://docs.libp2p.io/reference/dos-mitigation/"}]},"source":{"advisory":"GHSA-j7qp-mfxf-8xjw","discovery":"UNKNOWN"},"impact":{"cvss":[{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}]}},"nvd":{"publishedDate":"2022-12-08 01:15:00","lastModifiedDate":"2023-07-14 19:22:00","problem_types":["CWE-770"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:protocol:libp2p:*:*:*:*:*:go:*:*","versionEndExcluding":"0.18.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2022","CveId":"23492","Ordinal":"226388","Title":"CVE-2022-23492","CVE":"CVE-2022-23492","Year":"2022"},"notes":[{"CveYear":"2022","CveId":"23492","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}