Vulnerabilities in pkg:golang/github.com/elastic/cloud-on-k8s
PACKAGECVE-2020-7010 is a HIGH (CVSS 7.5) cryptographic issues vulnerability (CWE-335: Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG)) affecting Github.com/elastic/cloud on k8s libraries in the Go ecosystem. The issue involves cryptographic issues in eck. Remediation is available by upgrading affected packages to version 1.1.0.
pkg:golang/github.com/elastic/cloud-on-k8s
Vulnerability advisories affecting package pkg:golang/github.com/elastic/cloud-on-k8s. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-vfp4-xx6m-7vf6 | CVE-2020-7010 | HIGH | Cryptographic Issues in ECK |
CVE-2020-7010 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-2020-7010
To remediate this vulnerability, upgrade all affected Github.com/elastic/cloud on k8s 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/elastic/cloud-on-k8s to 1.1.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/elastic/cloud-on-k8s
How to Check if You Are Affected
To determine whether your application is affected by CVE-2020-7010, inspect your project dependencies for Github.com/elastic/cloud on k8s:
inspect dependencies for github.com/elastic/cloud-on-k8s
Analyze the terminal output to locate any version of Github.com/elastic/cloud on k8s in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.1.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-335: Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG), where the product uses a pseudo-random number generator (prng) but does not correctly manage seeds. In Github.com/elastic/cloud on k8s, 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-7010 Affected Github.com/elastic/cloud on k8s Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/elastic/cloud-on-k8s
|
Go |
< 1.1.0
|
1.1.0
|
References
Frequently Asked Questions
What is CVE-2020-7010?
Which Github.com/elastic/cloud on k8s versions are affected?
What version fixes CVE-2020-7010?
Is github.com/elastic/cloud-on-k8s affected?
What is the CVSS score of CVE-2020-7010?
What CWE is associated with CVE-2020-7010?
How can I check Go dependencies for CVE-2020-7010?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-vfp4-xx6m-7vf6",
"modified" : "2024-02-12T15:33:39Z",
"published" : "2022-02-15T01:57:18Z",
"aliases" : [ "CVE-2020-7010" ],
"summary" : "Cryptographic Issues in ECK",
"details" : "Elastic Cloud on Kubernetes (ECK) versions prior to 1.1.0 generate passwords using a weak random number generator. If an attacker is able to determine when the current Elastic Stack cluster was deployed they may be able to more easily brute force the Elasticsearch credentials generated by ECK.",
"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/elastic/cloud-on-k8s"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.1.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-7010"
}, {
"type" : "WEB",
"url" : "https://www.elastic.co/community/security"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-335" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2021-05-13T20:25:19Z",
"nvd_published_at" : "2020-06-03T18:15:22Z"
}
}