{"id":"GHSA-f3q4-ggfp-jv34","summary":"Adyen APIs Library for Python timing attack vulnerability","details":"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.","modified":"2024-12-01T05:34:43.277648Z","published":"2024-08-30T18:51:58Z","database_specific":{"cwe_ids":["CWE-347"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2024-08-30T18:51:58Z","nvd_published_at":null},"references":[{"type":"WEB","url":"https://github.com/Adyen/adyen-python-api-library/issues/168"},{"type":"WEB","url":"https://github.com/Adyen/adyen-python-api-library/pull/170"},{"type":"WEB","url":"https://github.com/Adyen/adyen-python-api-library/commit/3292133dbc00ffc4cccfb92de672a76eaa587ca5"},{"type":"PACKAGE","url":"https://github.com/Adyen/adyen-python-api-library"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/adyen/PYSEC-2023-1.yaml"}],"affected":[{"package":{"name":"adyen","ecosystem":"PyPI","purl":"pkg:pypi/adyen"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.2.0"},{"fixed":"7.1.0"}]}],"versions":["2.2.0","2.3.0","3.0.0","3.1.0","4.0.0","5.0.0","5.1.0","6.0.0","7.0.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/08/GHSA-f3q4-ggfp-jv34/GHSA-f3q4-ggfp-jv34.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"},{"type":"CVSS_V4","score":"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"}]}