{"id":"GHSA-f3q4-ggfp-jv34","aliases":[],"status":"published","title":"Adyen APIs Library for Python timing attack vulnerability","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.","severity":{"version":"4.0","score":6.9,"vector":"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","level":"medium","from":"ghsa"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-347"],"published":"2024-08-30T18:51:58Z","modified":"2024-12-01T05:34:43Z","fixes":[{"ecosystem":"PyPI","package":"adyen","fixed_in":["7.1.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"adyen","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.2.0"},{"fixed":"7.1.0"}]}]},{"source":"osv","ecosystem":"PyPI","package":"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"]}],"references":[{"url":"https://github.com/Adyen/adyen-python-api-library/issues/168","tags":["web"]},{"url":"https://github.com/Adyen/adyen-python-api-library/pull/170","tags":["web"]},{"url":"https://github.com/Adyen/adyen-python-api-library/commit/3292133dbc00ffc4cccfb92de672a76eaa587ca5","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/adyen/PYSEC-2023-1.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-f3q4-ggfp-jv34"},{"url":"https://github.com/Adyen/adyen-python-api-library","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-f3q4-ggfp-jv34","title":"Adyen APIs Library for Python timing attack vulnerability","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.","status":"published","published":"2024-08-30T18:51:58Z","modified":"2024-08-30T18:51:59Z","cvss":[{"version":"4.0","score":6.9,"vector":"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","level":"medium"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"cwes":["CWE-347"],"updated_at":"2026-11-02T14:38:00.257632Z"}],"osv":[{"id":"GHSA-f3q4-ggfp-jv34","title":"Adyen APIs Library for Python timing attack vulnerability","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.","status":"published","published":"2024-08-30T18:51:58Z","modified":"2024-12-01T05:34:43.277648Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium"},{"version":"4.0","score":6.9,"vector":"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","level":"medium"}],"cwes":["CWE-347"],"updated_at":"2026-11-02T15:46:45.639885Z"}]}}
