CVE-2023-40014
OpenZeppelin Contracts _msgSender Information Disclosure Vulnerability
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.
INFO
Published Date :
Aug. 10, 2023, 8:15 p.m.
Last Modified :
Nov. 21, 2024, 8:18 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
1.4
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2023-40014 has a 1 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
Affected Products
The following products are affected by CVE-2023-40014
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-40014
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
test
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-40014
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-40014
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/OpenZeppelin/openzeppelin-contracts/commit/9445f96223041abf2bf08daa56f8da50b674cbcd Added Reference https://github.com/OpenZeppelin/openzeppelin-contracts/commit/e4435eed757d4309436b1e06608e97b6d6e2fdb5 Added Reference https://github.com/OpenZeppelin/openzeppelin-contracts/pull/4481 Added Reference https://github.com/OpenZeppelin/openzeppelin-contracts/pull/4484 Added Reference https://github.com/OpenZeppelin/openzeppelin-contracts/releases/tag/v4.9.3 Added Reference https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-g4vp-m682-qqmp -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Aug. 23, 2023
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N Changed Reference Type https://github.com/OpenZeppelin/openzeppelin-contracts/commit/9445f96223041abf2bf08daa56f8da50b674cbcd No Types Assigned https://github.com/OpenZeppelin/openzeppelin-contracts/commit/9445f96223041abf2bf08daa56f8da50b674cbcd Patch Changed Reference Type https://github.com/OpenZeppelin/openzeppelin-contracts/commit/e4435eed757d4309436b1e06608e97b6d6e2fdb5 No Types Assigned https://github.com/OpenZeppelin/openzeppelin-contracts/commit/e4435eed757d4309436b1e06608e97b6d6e2fdb5 Patch Changed Reference Type https://github.com/OpenZeppelin/openzeppelin-contracts/pull/4481 No Types Assigned https://github.com/OpenZeppelin/openzeppelin-contracts/pull/4481 Patch, Vendor Advisory Changed Reference Type https://github.com/OpenZeppelin/openzeppelin-contracts/pull/4484 No Types Assigned https://github.com/OpenZeppelin/openzeppelin-contracts/pull/4484 Patch, Vendor Advisory Changed Reference Type https://github.com/OpenZeppelin/openzeppelin-contracts/releases/tag/v4.9.3 No Types Assigned https://github.com/OpenZeppelin/openzeppelin-contracts/releases/tag/v4.9.3 Release Notes Changed Reference Type https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-g4vp-m682-qqmp No Types Assigned https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-g4vp-m682-qqmp Vendor Advisory Added CPE Configuration OR *cpe:2.3:a:openzeppelin:openzeppelin_contracts:*:*:*:*:*:node.js:*:* versions from (including) 4.0.0 up to (excluding) 4.9.3 *cpe:2.3:a:openzeppelin:openzeppelin_contracts-upgradable:*:*:*:*:*:node.js:*:* versions from (including) 4.0.0 up to (excluding) 4.9.3
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-40014
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-40014
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.11 }} -0.02%
score
0.45087
percentile