{"id":"GHSA-3w84-4mjc-rjw7","summary":"IO FinNet tss-lib vulnerable to timing attack from non-constant time scalar multiplication","details":"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.)","aliases":["CVE-2023-26556","GO-2023-1732"],"modified":"2025-02-05T20:26:58.387986Z","published":"2023-04-21T18:30:24Z","database_specific":{"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2025-02-05T19:42:53Z","nvd_published_at":"2023-04-21T18:15:07Z","cwe_ids":["CWE-203"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26556"},{"type":"WEB","url":"https://github.com/bnb-chain/tss-lib/issues/44"},{"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/releases/tag/v2.0.0"},{"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-1732"}],"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":"2.0.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/04/GHSA-3w84-4mjc-rjw7/GHSA-3w84-4mjc-rjw7.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":"2.0.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/04/GHSA-3w84-4mjc-rjw7/GHSA-3w84-4mjc-rjw7.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:H/A:N"}]}