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

- Severity: Medium (CVSS:4.0, scored by GitHub) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-08-30T18:51:58.000Z
- Modified: 2024-12-01T05:34:43.277Z
- Weaknesses: CWE-347

## 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.

(As written by GitHub Advisory Database.)

## Affected

- adyen (PyPI): from 2.2.0 before 7.1.0

## Every score

- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/Adyen/adyen-python-api-library/issues/168> (web)
- <https://github.com/Adyen/adyen-python-api-library/pull/170> (web)
- <https://github.com/Adyen/adyen-python-api-library/commit/3292133dbc00ffc4cccfb92de672a76eaa587ca5> (web)
- <https://github.com/Adyen/adyen-python-api-library> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/adyen/PYSEC-2023-1.yaml> (web)

## Sources

- GitHub Advisory Database: [GHSA-f3q4-ggfp-jv34](https://github.com/advisories/GHSA-f3q4-ggfp-jv34), CC-BY-4.0, modified 2024-12-01

---

Page: https://cve.day/GHSA-f3q4-ggfp-jv34 · Whole record: https://cve.day/GHSA-f3q4-ggfp-jv34.json · Rebuilt by cve.day 2026-11-25T22:56:35.130Z
