Vulnerabilities in pkg:golang/github.com/binance-chain/tss-lib
PACKAGECVE-2023-26557 is a HIGH (CVSS 7.5) io finnet tss-lib vulnerable to vulnerability (CWE-203: Observable Discrepancy) affecting Github.com/bnb chain/tss lib libraries in the Go ecosystem. The issue involves io finnet tss-lib vulnerable to timing attack from non-constant time scalar arithmetic. Remediation is available by upgrading affected packages to version 1.3.6-0.20230324145555-bb6fb30bd3eb.
pkg:golang/github.com/binance-chain/tss-lib
Vulnerability advisories affecting package pkg:golang/github.com/binance-chain/tss-lib. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-mjqv-xhgm-gx8c | CVE-2023-26557 | HIGH | IO FinNet tss-lib vulnerable to timing attack from non-constant time scalar arithmetic |
| GHSA-3w84-4mjc-rjw7 | CVE-2023-26556 | CRITICAL | IO FinNet tss-lib vulnerable to timing attack from non-constant time scalar multiplication |
| GHSA-c58h-qv6g-fw74 | CVE-2022-47930 | MODERATE | IO FinNet tss-lib vulnerable to replay attacks involving proofs |
| GHSA-399h-cmvp-qgx5 | CVE-2020-12118 | HIGH | Incorrect Default Permissions in Binance tss-lib |
CVE-2023-26557 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2023-26557
To remediate this vulnerability, upgrade all affected Github.com/bnb chain/tss lib dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/bnb-chain/tss-lib to 1.3.6-0.20230324145555-bb6fb30bd3eb
Upgrade github.com/binance-chain/tss-lib to 1.3.6-0.20230324145555-bb6fb30bd3eb
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/bnb-chain/tss-lib
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-26557, inspect your project dependencies for Github.com/bnb chain/tss lib:
inspect dependencies for github.com/bnb-chain/tss-lib
Analyze the terminal output to locate any version of Github.com/bnb chain/tss lib in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.3.6-0.20230324145555-bb6fb30bd3eb), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-203: Observable Discrepancy, where the product behaves differently or sends different responses under different circumstances in a way that is observable to an unauthorized actor. In Github.com/bnb chain/tss lib, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-26557 Affected Github.com/bnb chain/tss lib Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/bnb-chain/tss-lib
|
Go |
< 1.3.6-0.20230324145555-bb6fb30bd3eb
|
1.3.6-0.20230324145555-bb6fb30bd3eb
|
|
github.com/binance-chain/tss-lib
|
Go |
< 1.3.6-0.20230324145555-bb6fb30bd3eb
|
1.3.6-0.20230324145555-bb6fb30bd3eb
|
References
Frequently Asked Questions
What is CVE-2023-26557?
Which Github.com/bnb chain/tss lib versions are affected?
What version fixes CVE-2023-26557?
Is github.com/bnb-chain/tss-lib affected?
Is github.com/binance-chain/tss-lib affected?
What is the CVSS score of CVE-2023-26557?
What CWE is associated with CVE-2023-26557?
How can I check Go dependencies for CVE-2023-26557?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mjqv-xhgm-gx8c",
"modified" : "2025-02-05T19:43:31Z",
"published" : "2023-04-21T18:30:24Z",
"aliases" : [ "CVE-2023-26557" ],
"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.)",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/bnb-chain/tss-lib"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.3.6-0.20230324145555-bb6fb30bd3eb"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/binance-chain/tss-lib"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.3.6-0.20230324145555-bb6fb30bd3eb"
} ]
} ]
} ],
"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"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-203" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-02-05T19:43:31Z",
"nvd_published_at" : "2023-04-21T18:15:07Z"
}
}