Skip to content

Duplicate Advisory: Discovery uses the same AES/GCM Nonce throughout the session

Moderate severity GitHub Reviewed Published Jan 20, 2024 to the GitHub Advisory Database • Updated Dec 2, 2025
Withdrawn This advisory was withdrawn on Dec 2, 2025

Package

maven tech.pegasys.discovery:discovery (Maven)

Affected versions

< 0.4.5

Patched versions

0.4.5

Description

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-w3hj-wr2q-x83g. This link is maintained to preserve external references.

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

References

Published by the National Vulnerability Database Jan 19, 2024
Published to the GitHub Advisory Database Jan 20, 2024
Reviewed Dec 2, 2025
Withdrawn Dec 2, 2025
Last updated Dec 2, 2025

Severity

Moderate

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

EPSS score

Weaknesses

Reusing a Nonce, Key Pair in Encryption

Nonces should be used for the present occasion and only once. Learn more on MITRE.

Use of Insufficiently Random Values

The product uses insufficiently random numbers or values in a security context that depends on unpredictable numbers. Learn more on MITRE.

CVE ID

No known CVE

GHSA ID

GHSA-wp4m-7hpj-8qp8

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.