CVE-2023-40014 — OpenZeppelin Contracts is a library for secure smart contract development
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 forwar
Published
2023-08-10T19:52:55.699Z
Last modified
2024-10-03T14:58:56.494Z
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
01What is this vulnerability?
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…
02Affected products
| Vendor | Product | Versions |
|---|
| OpenZeppelin | openzeppelin | contracts — >= 4.0.0, < 4.9.3 |
03Active exploitation status
Not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog. EPSS is the best forward-looking signal — see the EPSS row above.
04Recommended remediation
- Patch to a fixed version listed in the vendor advisory (see references below).
- Mitigate with WAF rules, network egress filters, or feature flags where the patch is not yet available.
- Hunt historical logs for exploitation indicators — see Detection signatures below.
05Technical details
For the full vendor write-up, exploit chains, and reference implementations, see the references list in section 09.
06Detection signatures
Open the Sigma generator with a pre-filled prompt for this CVE to draft a starting detection in your stack of choice:
Open in Sigma generator →
07Related CVEs
No directly-cited follow-up CVEs in the KB record for this advisory. The references list in section 09 carries the vendor cross-references.
08Timeline
- Published: 2023-08-10T19:52:55.699Z
- Last modified: 2024-10-03T14:58:56.494Z
09References
- github.com — https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-…
- github.com — https://github.com/OpenZeppelin/openzeppelin-contracts/pull/4481
- github.com — https://github.com/OpenZeppelin/openzeppelin-contracts/pull/4484
- github.com — https://github.com/OpenZeppelin/openzeppelin-contracts/commit/9445f96223041abf2b…
- github.com — https://github.com/OpenZeppelin/openzeppelin-contracts/commit/e4435eed757d430943…
- github.com — https://github.com/OpenZeppelin/openzeppelin-contracts/releases/tag/v4.9.3
Want this in your SOAR or SIEM?
SARA's API returns EPSS, CVSS, KEV, and an analyst-grade summary in one call.
Read the API reference →