CVE-2024-32648: vyper default functions don't respect nonreentrancy keys
(updated )
Prior to v0.3.0, __default__() functions did not respect the @nonreentrancy decorator and the lock was not emitted. This is a known bug and was already visible in the issue tracker (https://github.com/vyperlang/vyper/issues/2455), but it is being re-issued as an advisory so that tools relying on the advisory publication list can incorporate it into their searches.
A contract search was additionally performed and no vulnerable contracts were found in production.
References
- github.com/advisories/GHSA-m2v9-w374-5hj9
- github.com/pypa/advisory-database/tree/main/vulns/vyper/PYSEC-2024-163.yaml
- github.com/vyperlang/vyper
- github.com/vyperlang/vyper/commit/93287e5ac184b53b395c907d40701f721daf8177
- github.com/vyperlang/vyper/issues/2455
- github.com/vyperlang/vyper/security/advisories/GHSA-m2v9-w374-5hj9
- nvd.nist.gov/vuln/detail/CVE-2024-32648
Code Behaviors & Features
Detect and mitigate CVE-2024-32648 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →