5.3
MEDIUM
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 :

Aug. 23, 2023, 1:48 p.m.

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.

ID Vendor Product Action
1 Openzeppelin openzeppelin_contracts
2 Openzeppelin openzeppelin_contracts-upgradable

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

Updated: 10 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Nov. 19, 2023, 9:41 a.m. This repo has been linked 2 different CVEs too.

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 [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
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
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.01%

score

0.44521

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability