Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. Adyen
  4. ›
  5. GHSA-f3q4-ggfp-jv34

GHSA-f3q4-ggfp-jv34: Adyen APIs Library for Python timing attack vulnerability

August 30, 2024

Adyen has utility methods for validating notification HMAC signatures. The is_valid_hmac and is_valid_hmac_notification methods are vulnerable to a timing attack, you should compare the hash of the HMACs instead.

References

  • github.com/Adyen/adyen-python-api-library
  • github.com/Adyen/adyen-python-api-library/commit/3292133dbc00ffc4cccfb92de672a76eaa587ca5
  • github.com/Adyen/adyen-python-api-library/issues/168
  • github.com/Adyen/adyen-python-api-library/pull/170
  • github.com/advisories/GHSA-f3q4-ggfp-jv34
  • github.com/pypa/advisory-database/tree/main/vulns/adyen/PYSEC-2023-1.yaml

Code Behaviors & Features

Detect and mitigate GHSA-f3q4-ggfp-jv34 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 starting from 2.2.0 before 7.1.0

Fixed versions

  • 7.1.0

Solution

Upgrade to version 7.1.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-347: Improper Verification of Cryptographic Signature

Source file

pypi/Adyen/GHSA-f3q4-ggfp-jv34.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:27 +0000.