Non-constant time HMAC comparison in Adyen plugin
Package
saleor
(GHCR)
Affected versions
>= 2.11.0, < 3.7.68
>= 3.8.0, < 3.8.40
>= 3.9.0, < 3.9.49
>= 3.10.0, < 3.10.36
>= 3.11.0, < 3.11.35
>= 3.12.0, < 3.12.25
>= 3.13.0, < 3.13.16
Patched versions
3.7.68
3.8.40
3.9.49
3.10.36
3.11.35
3.12.25
3.13.16
Saleor's
validate_hmac_signaturefunction is vulnerable to timing attacks.Impact
Malicious users could abuse this vulnerability on Saleor deployments having the Adyen plugin enabled in order to determine the secret key and forge fake events, this could affect the database integrity such as marking an order as paid when it is not.
This issue has been patched in versions 3.13.16, 3.12.25, 3.11.35, 3.10.36, 3.9.49, 3.8.40, and 3.7.68.
Workarounds
We strongly recommend upgrading to the latest versions, in case of inability to upgrade straight away, possible workarounds are:
/plugins/channel/<channel>/mirumee.payments.adyen/webhooksendpointReferences