CVE-2020-12118: Github.com/binance chain/tss lib Incorrect Default Permissions Vulnerability
HIGHCVE-2020-12118 is a HIGH (CVSS 8.6) incorrect default permissions vulnerability (CWE-276: Incorrect Default Permissions) affecting Github.com/binance chain/tss lib libraries in the Go ecosystem. The issue involves incorrect default permissions in binance tss-lib. Remediation is available by upgrading affected packages to version 1.2.0.
CVE-2020-12118 at a Glance
Security Impact
CVSS: 8.6
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:C/C:H/I:N/A:N/E:U/RL:O/RC:R).
How to Fix CVE-2020-12118
To remediate this vulnerability, upgrade all affected Github.com/binance 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/binance-chain/tss-lib to 1.2.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/binance-chain/tss-lib
How to Check if You Are Affected
To determine whether your application is affected by CVE-2020-12118, inspect your project dependencies for Github.com/binance chain/tss lib:
inspect dependencies for github.com/binance-chain/tss-lib
Analyze the terminal output to locate any version of Github.com/binance 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.2.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-276: Incorrect Default Permissions, where during installation, installed file permissions are set to allow anyone to modify those files. In Github.com/binance 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-2020-12118 Affected Github.com/binance chain/tss lib Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/binance-chain/tss-lib
|
Go |
< 1.2.0
|
1.2.0
|
References
Frequently Asked Questions
What is CVE-2020-12118?
Which Github.com/binance chain/tss lib versions are affected?
What version fixes CVE-2020-12118?
Is github.com/binance-chain/tss-lib affected?
What is the CVSS score of CVE-2020-12118?
What CWE is associated with CVE-2020-12118?
How can I check Go dependencies for CVE-2020-12118?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-399h-cmvp-qgx5",
"modified" : "2023-10-02T14:30:16Z",
"published" : "2021-06-29T21:32:11Z",
"aliases" : [ "CVE-2020-12118" ],
"summary" : "Incorrect Default Permissions in Binance tss-lib",
"details" : "The keygen protocol implementation in Binance tss-lib before 1.2.0 allows attackers to generate crafted h1 and h2 parameters in order to compromise a signing round or obtain sensitive information from other parties.\n### Specific Go Packages Affected\ngithub.com/binance-chain/tss-lib/ecdsa/keygen",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N/E:U/RL:O/RC:R"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/binance-chain/tss-lib"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.2.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-12118"
}, {
"type" : "WEB",
"url" : "https://github.com/binance-chain/tss-lib/pull/89"
}, {
"type" : "WEB",
"url" : "https://github.com/binance-chain/tss-lib/pull/89/commits/7b7c17e90504d5dad94b938e84fec690bb1ec311"
}, {
"type" : "WEB",
"url" : "https://github.com/binance-chain/tss-lib/releases/tag/v1.2.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-276" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2021-05-25T20:16:35Z",
"nvd_published_at" : null
}
}