- Accueil
- Vulnérabilités
- CVE-2021-48018
CVE-2021-48018
Vyper 0.2.13 before 0.2.15 Storage Corruption via @nonreentrant Decorator
Moyen
42/100
Résumé
Vyper from 0.2.13 before 0.2.15 allocates storage slots for @nonreentrant reentrancy locks at the same locations as contract storage variables. When a function using @nonreentrant is called, setting the lock overwrites the overlapping storage variable, corrupting contract state and breaking the contract's intended logic.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Vyperlang (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Vyper | de 0.2.13 (inclus) à 0.2.15 (exclu) |
— | CNA (éditeur ou attributeur) |
Pypi (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| vyper | de 0.2.13 (inclus) à 0.2.15 (exclu) |
0.2.15 |
GitHub Advisory |
Correctif
Mise à jour — PyPI/vyper 0.2.15source officielle
Source : GitHub Advisory
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Avis CERT-FR
- GHSA-7f92-rr6w-cq64 — Storage corruption due to variables overwritten by re-entrancy locks 5 août 2021
Références
- https://github.com/vyperlang/vyper/security/advisories/GHSA-7f92-rr6w-cq64vendor-advisory
- https://www.vulncheck.com/advisories/vyper-0.2.13-before-0.2.15-storage-corruption-via-nonreentrant-decoratorthird-party-advisory
- https://github.com/vyperlang/vyper/pull/2379WEB
- https://github.com/vyperlang/vyper/pull/2391WEB
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- NVD
- Faiblesse (CWE)
- NVD
- Vecteur CVSS
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H(CVSS 3.1, NVD)- Faiblesse
- CWE-787 · Corruption mémoire