CVE-2024-32648
MEDIUM 5.3CVSS 3.1vyper default functions don't respect nonreentrancy keys
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.
- Published
- 25 Apr 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-667
- Also known as
- GHSA-m2v9-w374-5hj9PYSEC-2024-163
- Sources
- NVDJSONOSV GHSA-m2v9-w374-5hj9JSONOSV PYSEC-2024-163JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vyperlang | vypercpe:2.3:a:vyperlang:vyper:*:*:*:*:*:python:*:* |
< 0.3.0 | 0.3.0 |
| OSV | PyPI | vyper | < 0.3.0 | 0.3.0 |
References
- https://github.com/vyperlang/vyper/commit/93287e5ac184b53b395c907d40701f721daf8177 · Patch, WEB, FIX
- https://github.com/vyperlang/vyper/issues/2455 · Issue Tracking, WEB, REPORT
- https://github.com/vyperlang/vyper/security/advisories/GHSA-m2v9-w374-5hj9 · Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2024-32648 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/vyper/PYSEC-2024-163.yaml · WEB
- https://github.com/vyperlang/vyper · PACKAGE
- https://github.com/advisories/GHSA-m2v9-w374-5hj9 · ADVISORY
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 25 Apr 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 25 Apr 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 25 Apr 2024)