Intel

AIKIDO-2024-10550

github.com/libp2p/go-libp2p is vulnerable to Race Condition

Race Condition Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.

50

Medium Risk

This Affects:

GOgithub.com/libp2p/go-libp2p
0.37.0 - 0.38.0
Fixed in 0.38.1
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to a race condition, causing concurrent requests to reuse the same HMAC information. This flaw can compromise the integrity of the HMAC mechanism, potentially exposing sensitive data or allowing unauthorized access.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

github.com/libp2p/go-libp2p is vulnerable to Race Condition in versions 0.37.0 - 0.38.0.

How to fix this

Upgrade the github.com/libp2p/go-libp2p library to the patch version.