CVE-2022-47930: Github.com/bnb chain/tss lib IO FinNet Tss-lib Vulnerable To Vulnerability

MODERATE
Advisory Identifier: GHSA-c58h-qv6g-fw74
CVSS 6.8
CWE-294
Published
Advisory Summary

CVE-2022-47930 is a MODERATE (CVSS 6.8) io finnet tss-lib vulnerable to vulnerability (CWE-294: Authentication Bypass by Capture-replay) affecting Github.com/bnb chain/tss lib libraries in the Go ecosystem. The issue involves io finnet tss-lib vulnerable to replay attacks involving proofs. Remediation is available by upgrading affected packages to version 2.0.0.

CVE-2022-47930 at a Glance

CVE Identifier CVE-2022-47930
GHSA Identifier GHSA-c58h-qv6g-fw74
Severity MODERATE
CVSS v3.1 Base Score 6.8
CWE Classification CWE-294: Authentication Bypass by Capture-replay
Affected Product Github.com/bnb chain/tss lib
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 6.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2022-47930

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.

github.com/bnb-chain/tss-lib fixed: 2.0.0
Upgrade github.com/bnb-chain/tss-lib to 2.0.0
github.com/binance-chain/tss-lib fixed: 2.0.0
Upgrade github.com/binance-chain/tss-lib to 2.0.0
Verify Direct and Transitive Dependencies

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-47930, 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 2.0.0), 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-294: Authentication Bypass by Capture-replay, where a capture-replay flaw exists when the design of the product makes it possible for a malicious user to sniff network traffic and bypass authentication by replaying it to the server in question to the same effect as the original message (or with minor changes). 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

An issue was discovered in IO FinNet tss-lib before 2.0.0. The parameter ssid for defining a session id is not used through the MPC implementation, which makes replaying and spoofing of messages easier. In particular, the Schnorr proof of knowledge implemented in sch.go does not utilize a session id, context, or random nonce in the generation of the challenge. This could allow a malicious user or an eavesdropper to replay a valid proof sent in the past.

CVE-2022-47930 Affected Github.com/bnb chain/tss lib Versions

2 component(s)
Fixed Versions:
2.0.0
Product / Package Ecosystem Affected Versions Fixed Version
github.com/bnb-chain/tss-lib
Go
< 2.0.0
2.0.0
github.com/binance-chain/tss-lib
Go
< 2.0.0
2.0.0

References

Frequently Asked Questions

What is CVE-2022-47930?
CVE-2022-47930 is a security vulnerability in Github.com/bnb chain/tss lib involving IO FinNet tss-lib vulnerable to replay attacks involving proofs under CWE-294: Authentication Bypass by Capture-replay.
Which Github.com/bnb chain/tss lib versions are affected?
Affected versions include releases prior to 2.0.0 across affected packages: github.com/bnb-chain/tss-lib, github.com/binance-chain/tss-lib.
What version fixes CVE-2022-47930?
Upgrading to 2.0.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/bnb-chain/tss-lib affected?
Yes, github.com/bnb-chain/tss-lib is affected in releases prior to 2.0.0. Upgrade your dependency to 2.0.0 or later.
Is github.com/binance-chain/tss-lib affected?
Yes, github.com/binance-chain/tss-lib is affected in releases prior to 2.0.0. Upgrade your dependency to 2.0.0 or later.
What is the CVSS score of CVE-2022-47930?
CVE-2022-47930 has a CVSS v3.1 base score of 6.8 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N.
What CWE is associated with CVE-2022-47930?
CVE-2022-47930 is classified under CWE-294: Authentication Bypass by Capture-replay (A capture-replay flaw exists when the design of the product makes it possible for a malicious user to sniff network traffic and bypass authentication by replaying it to the server in question to the same effect as the original message (or with minor changes).).
How can I check Go dependencies for CVE-2022-47930?
Run the dependency tree command: 'inspect dependencies for github.com/bnb-chain/tss-lib'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-c58h-qv6g-fw74",
  "modified" : "2025-02-05T19:42:25Z",
  "published" : "2023-04-21T18:30:24Z",
  "aliases" : [ "CVE-2022-47930" ],
  "summary" : "IO FinNet tss-lib vulnerable to replay attacks involving proofs",
  "details" : "An issue was discovered in IO FinNet tss-lib before 2.0.0. The parameter ssid for defining a session id is not used through the MPC implementation, which makes replaying and spoofing of messages easier. In particular, the Schnorr proof of knowledge implemented in sch.go does not utilize a session id, context, or random nonce in the generation of the challenge. This could allow a malicious user or an eavesdropper to replay a valid proof sent in the past.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:L/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" : "2.0.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/binance-chain/tss-lib"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.0.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-47930"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/bnb-chain/tss-lib/pull/256"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/bnb-chain/tss-lib/commit/1a14f3ac9ecbf6115e80d44c7fff16bcc3139250"
  }, {
    "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://medium.com/@iofinnet/security-disclosure-for-ecdsa-and-eddsa-threshold-signature-schemes-4e969af7155b"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-294" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-02-05T19:42:25Z",
    "nvd_published_at" : "2023-04-21T18:15:07Z"
  }
}