{"id":"PYSEC-2023-1","aliases":[],"status":"published","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.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2023-01-24T00:00:00Z","modified":"2023-01-24T00:00:00Z","fixes":[{"ecosystem":"PyPI","package":"adyen","fixed_in":["7.1.0"],"sources":["osv"]}],"affected":[{"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":["report"]},{"url":"https://github.com/Adyen/adyen-python-api-library/pull/170","tags":["fix"]}],"sources":{"osv":[{"id":"PYSEC-2023-1","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":"2023-01-24T00:00:00Z","modified":"2023-01-24T00:00:00Z","updated_at":"2026-11-02T15:52:53.837392Z"}]}}
