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

CVE-2024-32645: vyper performs incorrect topic logging in raw_log

April 25, 2024 (updated January 21, 2025)

Incorrect values can be logged when raw_log builtin is called with memory or storage arguments to be used as topics.

A contract search was performed and no vulnerable contracts were found in production. In particular, no uses of raw_log() were found at all in production; it is apparently not a well-known function.

References

  • github.com/advisories/GHSA-xchq-w5r3-4wg3
  • github.com/pypa/advisory-database/tree/main/vulns/vyper/PYSEC-2024-206.yaml
  • github.com/vyperlang/vyper
  • github.com/vyperlang/vyper/security/advisories/GHSA-xchq-w5r3-4wg3
  • nvd.nist.gov/vuln/detail/CVE-2024-32645

Code Behaviors & Features

Detect and mitigate CVE-2024-32645 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.4.0

Fixed versions

  • 0.4.0

Solution

Upgrade to version 0.4.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-20: Improper Input Validation

Source file

pypi/vyper/CVE-2024-32645.yml

Spotted a mistake? Edit the file on GitLab.

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

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