CVE-2024-27094
Last modified
CVE-2024-27094 is a high-severity vulnerability rated 7.4/10 on the CVSS scale. 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. EPSS estimates a 0.76% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Openzeppelin | Contracts | >= 4.5.0, < 4.9.6 |
| Openzeppelin | Contracts | >= 5.0.0, < 5.0.2 |
| Openzeppelin | Contracts Upgradeable | >= 4.5.0, <= 4.9.6 |
| Openzeppelin | Contracts Upgradeable | >= 5.0.0, < 5.0.2 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-27094?
How severe is CVE-2024-27094?
How do I fix CVE-2024-27094?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-27089Rejected reason: This candidate was withdrawn by its CNA. Fu…
- CVE-2024-2709A vulnerability was found in Tenda AC10U 15.03.06.49. It has…8.8
- CVE-2024-27090Decidim is a participatory democracy framework, written in R…5.3
- CVE-2024-27091GeoNode is a geospatial content management system, a platfor…6.1
- CVE-2024-27092Hoppscotch is an API development ecosystem. Due to lack of …5.4
- CVE-2024-27093Minder is a Software Supply Chain Security Platform. In vers…7.5
- CVE-2024-27095Decidim is a participatory democracy framework. The admin pa…4.8
- CVE-2024-27096GLPI is a Free Asset and IT Management Software package, Dat…6.5
- CVE-2024-27097A user endpoint didn't perform filtering on an incoming para…5.3
- CVE-2024-27098GLPI is a Free Asset and IT Management Software package, Dat…9.6
- CVE-2024-27099The uAMQP is a C library for AMQP 1.0 communication to Azure…9.8
- CVE-2024-2710A vulnerability was found in Tenda AC10U 15.03.06.49. It has…8.8
Are you affected by CVE-2024-27094?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
