> CVE-2023-40014 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2023-08-10 20:15
MODIFIED
2024-11-21 08:18
CVSS_SCORE V3
5.3
EPSS (Prob. Exploit)
0.74%
Top 45.1%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-08 GITHUB 🔗 2026-11-10 OSV 🔗 2026-11-15

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

> AFFECTED_PRODUCTS

Openzeppelin - Openzeppelin Contracts
>= 4.0.0 < 4.9.3
Openzeppelin - Openzeppelin Contracts Upgradable
>= 4.0.0 < 4.9.3

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
Low (L)
Modification limitée des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
Low
Modification limitée des données possible
Disponibilité
None
Aucune interruption de service

> GITHUB SECURITY ADVISORY

GHSA-g4vp-m682-qqmp MODERATE

OpenZeppelin Contracts vulnerable to Improper Escaping of Output

AFFECTED PACKAGES:
NPM / @openzeppelin/contracts-upgradeable
>= 4.0.0, < 4.9.3
Fixed in: 4.9.3
NPM / @openzeppelin/contracts
>= 4.0.0, < 4.9.3
Fixed in: 4.9.3

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

OpenZeppelin Contracts's ERC2771Context with custom forwarder may lead to zero-valued _msgSender

AFFECTED PACKAGES:
Unknown / Unknown
ALIASES:
GHSA-g4vp-m682-qqmp

> HISTORIQUE DES MODIFICATIONS

Première apparition
10/08/2023 20:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:42
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME