PYSEC-2023-1
not scored yetAdyen 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.
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | adyen | >= 2.2.0, < 7.1.0 | 7.1.0 |
References
- https://github.com/Adyen/adyen-python-api-library/issues/168 · REPORT
- https://github.com/Adyen/adyen-python-api-library/pull/170 · FIX
History
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 24 Jan 2023)