CVE-2024-32648 json
vyper default functions don't respect nonreentrancy keys
published 2024-04-25 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-0179 , GHSA-m2v9-w374-5hj9 , PYSEC-2024-163
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 36%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.41% chance of exploitation in the next 30 days, higher than 36% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| OSV | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | vyper | <0.3.0 |
0.3.0 |
Affected products
- vyperlang vyper
Classification
- Weakness
-
- CWE-667 Improper Locking
References
-
github.com
/vyperlang/vyper/commit/93287e5ac184b53b395c907d40701f721daf8177
web, patch
-
github.com
/vyperlang/vyper/security/advisories/GHSA-m2v9-w374-5hj9
web, vendor-advisory, advisory
-
github.com
/vyperlang/vyper/issues/2455
web, issue-tracking, report
-
nvd.nist.gov
/vuln/detail/CVE-2024-32648
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/vyper/PYSEC-2024-163.yaml
web
-
github.com
/vyperlang/vyper
package
-
github.com
/advisories/GHSA-m2v9-w374-5hj9
advisory
Sources
- CVE List CVE-2024-32648
- GitHub Advisory GHSA-m2v9-w374-5hj9
- NVD CVE-2024-32648
- OSV PYSEC-2024-163
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.