CVE-2024-23688 Consensys Discovery Nonce Reuse
Reusing AES/GCM nonces in Consensys Discovery exposes session keys, allowing attackers to decrypt peer communications.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-23688?
CVE-2024-23688 is a medium-severity vulnerability in consensys:discovery, published on 19 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Consensys Discovery versions less than 0.4.5 uses the same AES/GCM nonce for the entire session. which should ideally be unique for every message. The node's private key isn't compromised, only the session key generated for specific peer communication is exposed.
Which versions are affected by CVE-2024-23688?
2 open source packages ship an affected version, including tech.pegasys.discovery:discovery. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
tech.pegasys.discovery:discovery Maven | All versions | 0.4.5 |
tech.pegasys.discovery:discovery Maven | All versions | 0.4.5 |
Products include Consensys Discovery.
How do I fix CVE-2024-23688?
Upgrade tech.pegasys.discovery:discovery to 0.4.5 or later.
Is CVE-2024-23688 being exploited?
There is no known exploitation of CVE-2024-23688 in the wild and no public exploit code.
Sources
Also known as GHSA-w3hj-wr2q-x83g.