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-2023-40014

5.3 · MEDIUM
Published Aug 10, 2023 openzeppelin CWE-116 EPSS 0.74% (52th pctl)

Overview

CVE-2023-40014 is a medium-severity vulnerability affecting openzeppelin openzeppelin_contracts. It was published on August 10, 2023 and has a CVSS 3.1 base score of 5.3 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.3, 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. Starting in version 4.0.0 and prior to version 4.9.3, contracts using `ERC2771Context` along with a custom trusted forwarder may see `_msgSender` return `address(0)` in calls that originate from the forwarder with calldata shorter than 20 bytes. This combination of circumstances does not appear to be common, in particular it is not the case for `MinimalForwarder` from OpenZeppelin Contracts, or any deployed forwarder the team is aware of, given that the signer address is appended to all calls that originate from these forwarders. The problem has been patched in v4.9.3.

Remediation

Check the references section for vendor advisories and patches from openzeppelin. Update openzeppelin_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 openzeppelin_contracts >= 4.0.0, < 4.9.3 Affected
openzeppelin openzeppelin_contracts-upgradable >= 4.0.0, < 4.9.3 Affected

Frequently Asked Questions

What is CVE-2023-40014?

CVE-2023-40014 is a medium-severity vulnerability affecting openzeppelin openzeppelin_contracts. It was published on August 10, 2023 and has a CVSS 3.1 base score of 5.3 (MEDIUM).

How severe is CVE-2023-40014?

This vulnerability has a CVSS 3.1 base score of 5.3, 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-2023-40014?

Check the references section for vendor advisories and patches from openzeppelin. Update openzeppelin_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-2023-40014?

CyberStrike's AI-powered security agents can automatically detect CVE-2023-40014 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.