GHSA-wr3c-g326-486c

Suggest an improvement
Source
https://github.com/advisories/GHSA-wr3c-g326-486c
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/01/GHSA-wr3c-g326-486c/GHSA-wr3c-g326-486c.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-wr3c-g326-486c
Aliases
Published
2023-01-09T19:45:01Z
Modified
2024-08-20T20:59:06.061660Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H CVSS Calculator
Summary
GitOps Run allows for Kubernetes workload injection
Details

Impact

A vulnerability in GitOps run could allow a local user or process to alter a Kubernetes cluster's resources.

GitOps run has a local S3 bucket which it uses for synchronising files that are later applied against a Kubernetes cluster. Its endpoint had no security controls to block unauthorised access, therefore allowing local users (and processes) on the same machine to see and alter the bucket content.

By leveraging this vulnerability, an attacker could pick a workload of their choosing and inject it into the S3 bucket, which resulted in the successful deployment in the target cluster, without the need to provide any credentials to either the S3 bucket nor the target Kubernetes cluster.

Patches

This vulnerability has been fixed by commits 75268c4 and 966823b. Users should upgrade to Weave GitOps version >= v0.12.0 released on 08/12/2022.

Workarounds

There is no workaround for this vulnerability.

References

Disclosed by Paulo Gomes, Senior Software Engineer, Weaveworks.

For more information

If you have any questions or comments about this advisory:

Database specific
{
    "nvd_published_at": "2023-01-09T13:15:00Z",
    "github_reviewed_at": "2023-01-09T19:45:01Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-284",
        "CWE-552"
    ]
}
References

Affected packages

Go / github.com/weaveworks/weave-gitops

Package

Name
github.com/weaveworks/weave-gitops
View open source insights on deps.dev
Purl
pkg:golang/github.com/weaveworks/weave-gitops

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.12.0

Database specific

{
    "last_known_affected_version_range": "<= 0.11.0"
}