CVE-2022-32169: Github.com/bytebase/bytebase Bytebase Does Not Restrict Low Vulnerability

MODERATE
Advisory Identifier: GHSA-5rc4-v5mj-g8c4
CVSS 4.3
CWE-732
Published
Advisory Summary

CVE-2022-32169 is a MODERATE (CVSS 4.3) bytebase does not restrict low vulnerability (CWE-732: Incorrect Permission Assignment for Critical Resource) affecting Github.com/bytebase/bytebase libraries in the Go ecosystem. The issue involves bytebase does not restrict low privilege user to access admin issues. Remediation is available in the latest vendor maintenance releases.

CVE-2022-32169 at a Glance

CVE Identifier CVE-2022-32169
GHSA Identifier GHSA-5rc4-v5mj-g8c4
Severity MODERATE
CVSS v3.1 Base Score 4.3
CWE Classification CWE-732: Incorrect Permission Assignment for Critical Resource
Affected Product Github.com/bytebase/bytebase
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 4.3

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

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

How to Fix CVE-2022-32169

To remediate this vulnerability, upgrade all affected Github.com/bytebase/bytebase 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/bytebase/bytebase fixed: Latest secure release
Upgrade github.com/bytebase/bytebase to Latest secure release
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/bytebase/bytebase

How to Check if You Are Affected

To determine whether your application is affected by CVE-2022-32169, inspect your project dependencies for Github.com/bytebase/bytebase:

inspect dependencies for github.com/bytebase/bytebase

Analyze the terminal output to locate any version of Github.com/bytebase/bytebase in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), 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-732: Incorrect Permission Assignment for Critical Resource, where the product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors. In Github.com/bytebase/bytebase, 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

The `Bytebase` application does not restrict low privilege user to access `admin issues` for which an unauthorized user can view the `OPEN` and `CLOSED` issues by `Admin` and the affected endpoint is `/issue`.

CVE-2022-32169 Affected Github.com/bytebase/bytebase Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
github.com/bytebase/bytebase
Go
≥ 0.1.0
≤ 1.0.4

References

Frequently Asked Questions

What is CVE-2022-32169?
CVE-2022-32169 is a security vulnerability in Github.com/bytebase/bytebase involving Bytebase does not restrict low privilege user to access admin issues under CWE-732: Incorrect Permission Assignment for Critical Resource.
Which Github.com/bytebase/bytebase versions are affected?
Affected versions include releases prior to current release patches across affected packages: github.com/bytebase/bytebase.
What version fixes CVE-2022-32169?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/bytebase/bytebase affected?
Yes, github.com/bytebase/bytebase is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2022-32169?
CVE-2022-32169 has a CVSS v3.1 base score of 4.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2022-32169?
CVE-2022-32169 is classified under CWE-732: Incorrect Permission Assignment for Critical Resource (The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.).
How can I check Go dependencies for CVE-2022-32169?
Run the dependency tree command: 'inspect dependencies for github.com/bytebase/bytebase'. 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-5rc4-v5mj-g8c4",
  "modified" : "2022-10-04T21:42:30Z",
  "published" : "2022-09-29T00:00:27Z",
  "aliases" : [ "CVE-2022-32169" ],
  "summary" : "Bytebase does not restrict low privilege user to access admin issues",
  "details" : "The `Bytebase` application does not restrict low privilege user to access `admin issues` for which an unauthorized user can view the `OPEN` and `CLOSED` issues by `Admin` and the affected endpoint is `/issue`.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/bytebase/bytebase"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.1.0"
      }, {
        "last_affected" : "1.0.4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-32169"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/bytebase/bytebase"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/bytebase/bytebase/blob/1.0.4/frontend/src/store/modules/issue.ts#L108-#L187"
  }, {
    "type" : "WEB",
    "url" : "https://www.mend.io/vulnerability-database/CVE-2022-32169"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-732" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-10-04T21:42:30Z",
    "nvd_published_at" : "2022-09-28T10:15:00Z"
  }
}