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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | vyper | 0.3.0 | GHSA-m2v9-w374-5hj9 |
| PyPI | vyper | 0.3.0 | PYSEC-2024-163 |
Affected products (as reported)
Weakness: CWE-667 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
References
- https://github.com/vyperlang/vyper/security/advisories/GHSA-m2v9-w374-5hj9 x_refsource_CONFIRM
- https://github.com/vyperlang/vyper/issues/2455 x_refsource_MISC
- https://github.com/vyperlang/vyper/commit/93287e5ac184b53b395c907d40701f721daf8177 x_refsource_MISC