GHSA-3w84-4mjc-rjw7

Suggest an improvement
Source
https://github.com/advisories/GHSA-3w84-4mjc-rjw7
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/04/GHSA-3w84-4mjc-rjw7/GHSA-3w84-4mjc-rjw7.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-3w84-4mjc-rjw7
Aliases
Published
2023-04-21T18:30:24Z
Modified
2025-02-05T20:11:50.449540Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
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.)

Database specific
{
    "nvd_published_at": "2023-04-21T18:15:07Z",
    "github_reviewed": true,
    "github_reviewed_at": "2025-02-05T19:42:53Z",
    "severity": "CRITICAL",
    "cwe_ids": [
        "CWE-203"
    ]
}
References

Affected packages

Go / github.com/bnb-chain/tss-lib

Package

Name
github.com/bnb-chain/tss-lib
View open source insights on deps.dev
Purl
pkg:golang/github.com/bnb-chain/tss-lib

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.0.0

Go / github.com/binance-chain/tss-lib

Package

Name
github.com/binance-chain/tss-lib
View open source insights on deps.dev
Purl
pkg:golang/github.com/binance-chain/tss-lib

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.0.0