Vulnerabilities in pkg:golang/github.com/weaveworks/weave-gitops
PACKAGECVE-2022-23509 is a HIGH (CVSS 7.3) gitops run insecure communication vulnerability (CWE-319: Cleartext Transmission of Sensitive Information) affecting Github.com/weaveworks/weave gitops libraries in the Go ecosystem. The issue involves gitops run insecure communication. Remediation is available by upgrading affected packages to version 0.12.0.
pkg:golang/github.com/weaveworks/weave-gitops
Vulnerability advisories affecting package pkg:golang/github.com/weaveworks/weave-gitops. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-89qm-wcmw-3mgg | CVE-2022-23509 | HIGH | Gitops Run insecure communication |
| GHSA-wr3c-g326-486c | CVE-2022-23508 | HIGH | GitOps Run allows for Kubernetes workload injection |
| GHSA-xggc-qprg-x6mw | CVE-2022-31098 | CRITICAL | Weave GitOps leaked cluster credentials into logs on connection errors |
CVE-2022-23509 at a Glance
Security Impact
CVSS: 7.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H).
How to Fix CVE-2022-23509
To remediate this vulnerability, upgrade all affected Github.com/weaveworks/weave gitops 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/weaveworks/weave-gitops to 0.12.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/weaveworks/weave-gitops
How to Check if You Are Affected
To determine whether your application is affected by CVE-2022-23509, inspect your project dependencies for Github.com/weaveworks/weave gitops:
inspect dependencies for github.com/weaveworks/weave-gitops
Analyze the terminal output to locate any version of Github.com/weaveworks/weave gitops in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.12.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-319: Cleartext Transmission of Sensitive Information, where the product transmits sensitive or security-critical data in cleartext in a communication channel that can be sniffed by unauthorized actors. In Github.com/weaveworks/weave gitops, 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-23509 Affected Github.com/weaveworks/weave gitops Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/weaveworks/weave-gitops
|
Go |
< 0.12.0
|
0.12.0
|
References
Frequently Asked Questions
What is CVE-2022-23509?
Which Github.com/weaveworks/weave gitops versions are affected?
What version fixes CVE-2022-23509?
Is github.com/weaveworks/weave-gitops affected?
What is the CVSS score of CVE-2022-23509?
What CWE is associated with CVE-2022-23509?
How can I check Go dependencies for CVE-2022-23509?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-89qm-wcmw-3mgg",
"modified" : "2023-01-09T19:45:35Z",
"published" : "2023-01-09T19:45:35Z",
"aliases" : [ "CVE-2022-23509" ],
"summary" : "Gitops Run insecure communication",
"details" : "### Impact\nGitOps run has a local S3 bucket which it uses for synchronising files that are later applied against a Kubernetes cluster. The communication between GitOps Run and the local s3 bucket is not encrypted. \n\nThis allows privileged users or process to tap the local traffic to gain information permitting access to the s3 bucket. From that point, it would be possible to alter the bucket content, resulting in changes in the Kubernetes cluster's resources(e.g. CVE-2022-23508).\n\n### Patches\nThis vulnerability has been fixed by commits [ce2bbff](https://github.com/weaveworks/weave-gitops/pull/3106/commits/ce2bbff0a3609c33396050ed544a5a21f8d0797f) and [babd915](https://github.com/weaveworks/weave-gitops/pull/3098/commits/babd91574b99b310b84aeec9f8f895bd18acb967). Users should upgrade to Weave GitOps version >= v0.12.0 released on 08/12/2022.\n\n### Workarounds\nThere is no workaround for this vulnerability.\n\n### References\nDisclosed by Paulo Gomes, Senior Software Engineer, Weaveworks.\n\n### For more information\nIf you have any questions or comments about this advisory:\n- Open an issue in [Weave GitOps repository](https://github.com/weaveworks/weave-gitops)\n- Email us at [support@weave.works](mailto:support@weave.works)\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/weaveworks/weave-gitops"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.12.0"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 0.11.0"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/weaveworks/weave-gitops/security/advisories/GHSA-89qm-wcmw-3mgg"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-23509"
}, {
"type" : "WEB",
"url" : "https://github.com/weaveworks/weave-gitops/pull/3098/commits/babd91574b99b310b84aeec9f8f895bd18acb967"
}, {
"type" : "WEB",
"url" : "https://github.com/weaveworks/weave-gitops/pull/3106/commits/ce2bbff0a3609c33396050ed544a5a21f8d0797f"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/weaveworks/weave-gitops"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200", "CWE-319" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-01-09T19:45:35Z",
"nvd_published_at" : "2023-01-09T14:15:00Z"
}
}