A malicious actor can store an arbitrary amount of data in the memory of a remote node by sending the node a message with a signed peer record. Signed peer records from randomly generated peers can be sent by a malicious actor. This memory does not get garbage collected and so the remote node can run out of memory (OOM).
{
"url": "https://pkg.go.dev/vuln/GO-2023-2024",
"review_status": "REVIEWED"
}{
"imports": [
{
"symbols": [
"ConsumeEnvelope"
],
"path": "github.com/libp2p/go-libp2p/core/record"
},
{
"symbols": [
"idService.IdentifyConn",
"idService.IdentifyWait",
"idService.consumeMessage",
"netNotifiee.Connected"
],
"path": "github.com/libp2p/go-libp2p/p2p/protocol/identify"
}
]
}