CVE-2023-26556

critical

Description

io.finnet tss-lib before 2.0.0 can leak a secret key via a timing side-channel attack because it relies on the scalar-multiplication implementation in Go crypto/elliptic, which is not constant time (there is an if statement in a loop). One leak is in ecdsa/keygen/round_2.go. (bnb-chain/tss-lib and thorchain/tss are also affected.)

References

https://medium.com/%40iofinnet/security-disclosure-for-ecdsa-and-eddsa-threshold-signature-schemes-4e969af7155b

https://gitlab.com/thorchain/tss/tss-lib/-/tags/v0.1.3

https://github.com/bnb-chain/tss-lib/tree/v1.3.5

https://github.com/IoFinnet/tss-lib/releases/tag/v2.0.0

Details

Source: Mitre, NVD

Published: 2023-04-21

Updated: 2023-11-07

Risk Information

CVSS v2

Base Score: 9.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:N

Severity: High

CVSS v3

Base Score: 9.1

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Severity: Critical