GitHub Advisoryadvisory · PyPI

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

MEDIUM Published 2024-08-30 Modified 2024-08-30 Official page ↗
Ecosystem
PyPI
Packages
Adyen
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weaknesses
CWE-347
Reviewed
2024-08-30

Affected packages

• PyPI Adyen: >= 2.2.0, < 7.1.0 → fixed in 7.1.0

Description

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.

Related

Weakness · CWE (1)

  • CWE-347 Improper Verification of Cryptographic Signature weakness

References