Vulnerability · Published Apr 25, 2024 · Assigned by GitHub_M

CVE-2024-32648vyper default functions don't respect nonreentrancy keys

Medium 5.3

In plain English

A medium-severity security flaw in vyper from vyperlang. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 36% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.4%top 63.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Vyper is a pythonic Smart Contract Language for the Ethereum virtual machine. Prior to version 0.3.0, default functions don't respect nonreentrancy keys and the lock isn't emitted. No vulnerable production contracts were found. Additionally, using a lock on a `default` function is a very sparsely used pattern. As such, the impact is low. Version 0.3.0 contains a patch for the issue.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIvyper0.3.0GHSA-m2v9-w374-5hj9
PyPIvyper0.3.0PYSEC-2024-163

Affected products (as reported)

VendorProductVersions
vyperlang vyper < 0.3.0

Weakness: CWE-667 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

References