> CVE-2023-30542 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2023-04-16 08:15
MODIFIED
2024-11-21 08:00
CVSS_SCORE V3
6.8
EPSS (Prob. Exploit)
0.58%
Top 51.8%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-08 GITHUB 🔗 2026-11-03 OSV 🔗 2026-11-15

> DESCRIPTION

OpenZeppelin Contracts is a library for secure smart contract development. The proposal creation entrypoint (`propose`) in `GovernorCompatibilityBravo` allows the creation of proposals with a `signatures` array shorter than the `calldatas` array. This causes the additional elements of the latter to be ignored, and if the proposal succeeds the corresponding actions would eventually execute without any calldata. The `ProposalCreated` event correctly represents what will eventually execute, but the proposal parameters as queried through `getActions` appear to respect the original intended calldata. This issue has been patched in 4.8.3. As a workaround, ensure that all proposals that pass through governance have equal length `signatures` and `calldatas` parameters.

> AFFECTED_PRODUCTS

Openzeppelin - Contracts
>= 4.3.0 < 4.8.3
Openzeppelin - Contracts Upgradeable
>= 4.3.0 < 4.8.3

> CVSS V3 METRICS

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

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L
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
Low (L)
Authentifié avec compte utilisateur basique
UI (Interaction Utilisateur)
User Interaction
Required (R)
Nécessite une action utilisateur (clic lien, ouverture fichier, etc.)
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
Low (L)
Divulgation limitée d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
Low (L)
Interruption partielle du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
Low
Divulgation limitée d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
Low
Interruption partielle du service possible

> GITHUB SECURITY ADVISORY

GHSA-93hq-5wgc-jc82 HIGH

GovernorCompatibilityBravo may trim proposal calldata

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

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

GovernorCompatibilityBravo may trim proposal calldata

AFFECTED PACKAGES:
Unknown / Unknown
ALIASES:
GHSA-93hq-5wgc-jc82

> HISTORIQUE DES MODIFICATIONS

Première apparition
16/04/2023 08:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:40
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