Record summary

CVE-2024-27094 has a selected CVSS score of 6.5 (medium).

Description

OpenZeppelin Contracts is a library for secure smart contract development. The `Base64.encode` function encodes a `bytes` input by iterating over it in chunks of 3 bytes. When this input is not a multiple of 3, the last iteration may read parts of the memory that are beyond the input buffer. The vulnerability is fixed in 5.0.2 and 4.9.6.

Description source: CVE List

Exploitation context

CISA SSVC decision

ExploitationNone
AutomatableNo
Technical impactPartial

CISA Coordinator · SSVC 2.0.3 · Evaluated Aug 2, 2024 · Source: CVE List

Affected products and versions

3
ProductSourceVersion rangeStatus
CVE List>= 4.5.0, < 4.9.6affected
>= 5.0.0-rc.0, < 5.0.2affected
GitHub Advisory4.5.0 to < 4.9.6 · Fixed in 4.9.6affected
5.0.0-rc.0 to < 5.0.2 · Fixed in 5.0.2affected

@openzeppelin/contracts-upgradeable

Browse npm / @openzeppelin/contracts-upgradeable
GitHub Advisory5.0.0-rc.0 to < 5.0.2 · Fixed in 5.0.2affected
4.5.0 to < 4.9.6 · Fixed in 4.9.6affected

References

7