CVE-2022-47931 Collision of hash values in github.com/bnb-chain/tss-lib
Medium 6.5
Published
Updated
Check this codebase for CVE-2022-47931 and fix it if it is affected.
What it is: CVE-2022-47931 is a medium-severity vulnerability in n/a, published on 22 Dec 2022.
Exploitation: There is no known exploitation of CVE-2022-47931 in the wild and no public exploit code.
Affected packages and fixed versions:
- github.com/bnb-chain/tss-lib (Go): affected all versions; fixed in 1.3.6-0.20230324145555-bb6fb30bd3eb
- github.com/bnb-chain/tss-lib (Go): affected all versions; fixed in 1.3.6-0.20230324145555-bb6fb30bd3eb
- github.com/bnb-chain/tss-lib (Go): affected all versions; fixed in 1.3.6-0.20230324145555-bb6fb30bd3eb
- github.com/binance-chain/tss-lib (Go): affected all versions; no fix listed
Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.
Reference: https://insights.sbomify.com/CVE-2022-47931/ (Markdown: https://insights.sbomify.com/CVE-2022-47931/index.md)
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2022-47931?
CVE-2022-47931 is a medium-severity vulnerability in n/a, published on 22 Dec 2022.
Official description
IO FinNet tss-lib before 2.0.0 allows a collision of hash values.
Weakness: CWE-326
Which versions are affected by CVE-2022-47931?
4 open source packages ship an affected version, including github.com/bnb-chain/tss-lib and github.com/binance-chain/tss-lib. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/bnb-chain/tss-lib Go | All versions | 1.3.6-0.20230324145555-bb6fb30bd3eb |
github.com/bnb-chain/tss-lib Go | All versions | 1.3.6-0.20230324145555-bb6fb30bd3eb |
github.com/bnb-chain/tss-lib Go | All versions | 1.3.6-0.20230324145555-bb6fb30bd3eb |
github.com/binance-chain/tss-lib Go | All versions | None |
Products include Iofinnet Tss-Lib.
How do I fix CVE-2022-47931?
Upgrade github.com/bnb-chain/tss-lib to 1.3.6-0.20230324145555-bb6fb30bd3eb or later.
Is CVE-2022-47931 being exploited?
There is no known exploitation of CVE-2022-47931 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-cvcx-g7wh-x8rf, GO-2023-1904.