Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. vyper
  4. ›
  5. GMS-2022-704

GMS-2022-704: Incorrect Comparison

April 4, 2022 (updated May 26, 2022)

bytestrings can have dirty bytes in them, resulting in the word-for-word comparison to give incorrect results.

References

  • github.com/advisories/GHSA-7vrm-3jc8-5wwm
  • github.com/vyperlang/vyper/commit/2c73f8352635c0a433423a5b94740de1a118e508
  • github.com/vyperlang/vyper/security/advisories/GHSA-7vrm-3jc8-5wwm

Code Behaviors & Features

Detect and mitigate GMS-2022-704 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.2

Fixed versions

  • 0.3.2

Solution

Upgrade to version 0.3.2 or above.

Source file

pypi/vyper/GMS-2022-704.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:30 +0000.