GHSA-mjqv-xhgm-gx8c

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

Database specific
{
    "nvd_published_at": "2023-04-21T18:15:07Z",
    "github_reviewed": true,
    "github_reviewed_at": "2025-02-05T19:43:31Z",
    "severity": "HIGH",
    "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
1.3.6-0.20230324145555-bb6fb30bd3eb

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
1.3.6-0.20230324145555-bb6fb30bd3eb