OpenZeppelin Contracts base64 encoding may read from potentially dirty memory
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| OpenZeppelin | openzeppelin-contracts | affected |
|
Configuration 1 [-]
|
No data.
| Vendor | Product | Versions |
|---|---|---|
| Openzeppelin | Openzeppelin Contracts | — |
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2024-0602 | 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. |
Github GHSA |
GHSA-9vx6-7xxf-x967 | OpenZeppelin Contracts base64 encoding may read from potentially dirty memory |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.763% probability within 30 days)
Key SSVC decision points have not yet been added.
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Openzeppelin contracts
Openzeppelin contracts Upgradeable |
|
| CPEs | cpe:2.3:a:openzeppelin:contracts:*:*:*:*:*:node.js:*:* cpe:2.3:a:openzeppelin:contracts_upgradeable:*:*:*:*:*:node.js:*:* |
|
| Vendors & Products |
Openzeppelin contracts
Openzeppelin contracts Upgradeable |