{"id":"PYSEC-2023-1","aliases":["PYSEC-2023-1"],"related":[],"kind":"vulnerability","state":"published","title":"Adyen has utility methods for validating notification HMAC signatures.","summary":"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.","summaryFormat":"markdown","summarySource":"pysec","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"pysec"}],"published":"2023-01-24T00:00:00.000Z","modified":"2023-01-24T00:00:00.000Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"ecosystem","introduced":"2.2.0","status":"affected","fixed":"7.1.0"}],"ecosystem":"PyPI","package":"adyen","purl":"pkg:pypi/adyen","source":"pysec"}],"references":[{"url":"https://github.com/Adyen/adyen-python-api-library/issues/168","tags":["report"],"sources":["pysec"]},{"url":"https://github.com/Adyen/adyen-python-api-library/pull/170","tags":["fix"],"sources":["pysec"]}],"credits":[],"sources":[{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2023-1","url":"https://osv.dev/vulnerability/PYSEC-2023-1","licence":"CC-BY-4.0","modified":"2023-01-24T00:00:00.000Z"}],"updatedAt":"2026-11-25T22:56:37.825Z"}