Out-of-bounds read in OpenZeppelin Contracts - CVE-2024-27094

 

Out-of-bounds read in OpenZeppelin Contracts - CVE-2024-27094

Published: March 1, 2024


Vulnerability identifier: #VU86938
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-27094
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to a boundary condition in the Base64.encode function. A remote attacker can trigger an out-of-bounds read error and read contents of memory on the system.


Affected software

OpenZeppelin Contracts

How to mitigate CVE-2024-27094

Install updates from vendor's website.

OpenZeppelin Contracts - addressed in versions 4.9.6, 5.0.2

External References

Related Security Bulletins