Open-source package vulnerability · PyPI
GHSA-f3q4-ggfp-jv34: Adyen APIs Library for Python timing attack vulnerability
mediumCVSS 4.0 6.9 · 3.1 5.3
Adyen has utility methods for validating notification HMAC signatures. The isvalidhmac and isvalidhmacnotification methods are vulnerable to a timing attack, you should compare the hash of the HMACs instead.
Published Aug 30, 2024
Affected packages
Adyen
- Ecosystem
- PyPI
- Affected
- >= 2.2.0, < 7.1.0
- Fixed in
- 7.1.0
- Check
pip show Adyen
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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
- https://github.com/Adyen/adyen-python-api-library/issues/168
- https://github.com/Adyen/adyen-python-api-library/pull/170
- https://github.com/Adyen/adyen-python-api-library/commit/3292133dbc00ffc4cccfb92de672a76eaa587ca5
- https://github.com/pypa/advisory-database/tree/main/vulns/adyen/PYSEC-2023-1.yaml
- https://github.com/advisories/GHSA-f3q4-ggfp-jv34
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
