{"id":"GHSA-mjqv-xhgm-gx8c","summary":"IO FinNet tss-lib vulnerable to timing attack from non-constant time scalar arithmetic","details":"io.finnet tss-lib before 2.0.0 can leak the lambda value of a private key via a timing side-channel attack because it relies on Go big.Int, which is not constant time for Cmp, modular exponentiation, or modular inverse. An example leak is in crypto/paillier/paillier.go. (bnb-chain/tss-lib and thorchain/tss are also affected.)","aliases":["CVE-2023-26557","GO-2023-1733"],"modified":"2025-02-05T20:42:12.163107Z","published":"2023-04-21T18:30:24Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2025-02-05T19:43:31Z","nvd_published_at":"2023-04-21T18:15:07Z","cwe_ids":["CWE-203"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26557"},{"type":"WEB","url":"https://github.com/IoFinnet/tss-lib/releases/tag/v2.0.0"},{"type":"PACKAGE","url":"https://github.com/bnb-chain/tss-lib"},{"type":"WEB","url":"https://github.com/bnb-chain/tss-lib/tree/v1.3.5"},{"type":"WEB","url":"https://gitlab.com/thorchain/tss/tss-lib/-/tags/v0.1.3"},{"type":"WEB","url":"https://medium.com/@iofinnet/security-disclosure-for-ecdsa-and-eddsa-threshold-signature-schemes-4e969af7155b"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2023-1733"}],"affected":[{"package":{"name":"github.com/bnb-chain/tss-lib","ecosystem":"Go","purl":"pkg:golang/github.com/bnb-chain/tss-lib"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.3.6-0.20230324145555-bb6fb30bd3eb"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/04/GHSA-mjqv-xhgm-gx8c/GHSA-mjqv-xhgm-gx8c.json"}},{"package":{"name":"github.com/binance-chain/tss-lib","ecosystem":"Go","purl":"pkg:golang/github.com/binance-chain/tss-lib"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.3.6-0.20230324145555-bb6fb30bd3eb"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/04/GHSA-mjqv-xhgm-gx8c/GHSA-mjqv-xhgm-gx8c.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}