Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. vyper
  4. ›
  5. CVE-2024-32648

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

April 25, 2024 (updated January 14, 2025)

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. Learn more about Dependency Scanning →

Affected versions

All versions before 0.3.0

Fixed versions

  • 0.3.0

Solution

Upgrade to version 0.3.0 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-667: Improper Locking

Source file

pypi/vyper/CVE-2024-32648.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:16 +0000.