Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-27094

6.5 · MEDIUM
Published Mar 21, 2024 openzeppelin CWE-125 EPSS 0.76% (53th pctl)

Overview

CVE-2024-27094 is a medium-severity vulnerability affecting openzeppelin contracts. It was published on March 21, 2024 and has a CVSS 3.1 base score of 6.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 6.5, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

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

Remediation

Check the references section for vendor advisories and patches from openzeppelin. Update contracts to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
openzeppelin contracts >= 4.5.0, < 4.9.6 Affected
openzeppelin contracts_upgradeable 4.5.0 Affected

Frequently Asked Questions

What is CVE-2024-27094?

CVE-2024-27094 is a medium-severity vulnerability affecting openzeppelin contracts. It was published on March 21, 2024 and has a CVSS 3.1 base score of 6.5 (MEDIUM).

How severe is CVE-2024-27094?

This vulnerability has a CVSS 3.1 base score of 6.5, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2024-27094?

Check the references section for vendor advisories and patches from openzeppelin. Update contracts to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-27094?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-27094 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.