# PYSEC-2023-1: Adyen has utility methods for validating notification HMAC signatures.

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2023-01-24T00:00:00.000Z
- Modified: 2023-01-24T00:00:00.000Z

## 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.

(As written by PyPA Advisory Database.)

## Affected

- adyen (PyPI): from 2.2.0 before 7.1.0

## References

- <https://github.com/Adyen/adyen-python-api-library/issues/168> (report)
- <https://github.com/Adyen/adyen-python-api-library/pull/170> (fix)

## Sources

- PyPA Advisory Database: [PYSEC-2023-1](https://osv.dev/vulnerability/PYSEC-2023-1), CC-BY-4.0, modified 2023-01-24

---

Page: https://cve.day/PYSEC-2023-1 · Whole record: https://cve.day/PYSEC-2023-1.json · Rebuilt by cve.day 2026-11-25T22:56:37.825Z
