CVE-2022-47931: Github.com/bnb chain/tss lib Collision Of Hash Values Vulnerability
CRITICALCVE-2022-47931 is a CRITICAL (CVSS 9.1) collision of hash values vulnerability (CWE-327: Use of a Broken or Risky Cryptographic Algorithm) affecting Github.com/bnb chain/tss lib libraries in the Go ecosystem. The issue involves collision of hash values in github.com/bnb-chain/tss-lib. Remediation is available by upgrading affected packages to version 1.3.6-0.20230324145555-bb6fb30bd3eb.
CVE-2022-47931 at a Glance
Security Impact
CVSS: 9.1
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:H/A:N).
How to Fix CVE-2022-47931
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
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-2022-47931, 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-327: Use of a Broken or Risky Cryptographic Algorithm, where the product uses a broken or risky cryptographic algorithm or protocol. 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-2022-47931 Affected Github.com/bnb chain/tss lib Versions
1 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
|
References
Frequently Asked Questions
What is CVE-2022-47931?
Which Github.com/bnb chain/tss lib versions are affected?
What version fixes CVE-2022-47931?
Is github.com/bnb-chain/tss-lib affected?
What is the CVSS score of CVE-2022-47931?
What CWE is associated with CVE-2022-47931?
How can I check Go dependencies for CVE-2022-47931?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-cvcx-g7wh-x8rf",
"modified" : "2024-05-22T19:01:52Z",
"published" : "2022-12-23T00:30:23Z",
"aliases" : [ "CVE-2022-47931" ],
"summary" : "Collision of hash values in github.com/bnb-chain/tss-lib",
"details" : "IO FinNet tss-lib before 2.0.0 allows a collision of hash values.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-47931"
}, {
"type" : "WEB",
"url" : "https://github.com/bnb-chain/tss-lib/pull/233"
}, {
"type" : "WEB",
"url" : "https://github.com/IoFinnet/threshlib/commit/369ec50be1437588a9733443bcb2f15b794601d4"
}, {
"type" : "WEB",
"url" : "https://github.com/bnb-chain/tss-lib/commit/bb6fb30bd3ebd35c755109836aa1a5ee6126c8a0"
}, {
"type" : "WEB",
"url" : "https://github.com/IoFinnet/threshlib/releases/tag/v2.0.0"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/bnb-chain/tss-lib"
}, {
"type" : "WEB",
"url" : "https://github.com/golang/vulndb/blob/master/data/reports/GO-2023-1904.yaml"
}, {
"type" : "WEB",
"url" : "https://medium.com/@iofinnet/security-disclosure-for-ecdsa-and-eddsa-threshold-signature-schemes-4e969af7155b"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-327" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-20T21:24:53Z",
"nvd_published_at" : "2022-12-23T00:15:00Z"
}
}