Skip to content
Heist/ feed
Back to feed
Medium

bytebase - Improper Authorization

Type: advisorySources: OSV

The “Bytebase” application does not restrict low privilege user to access admin “projects“ for which an unauthorized user can view the “projects“ created by “Admin” and the affected endpoint is “/api/project?user=${userId}”.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-32170
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 14:58 UTC · Revision 1

Source evidence

bytebase - Improper Authorization

core-osv · Original source

Published 28 Sept 2022, 09:30 UTC

The “Bytebase” application does not restrict low privilege user to access admin “projects“ for which an unauthorized user can view the “projects“ created by “Admin” and the affected endpoint is “/api/project?user=${userId}”.

osv:CVE-2022-32170
Complete source record
{
  "id": "46dfe0180c10a0288e6097dd66373dcc046c6031a2c355867a1c60e339d75369",
  "url": "https://osv.dev/vulnerability/CVE-2022-32170",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "bytebase - Improper Authorization",
    "summary": "The “Bytebase” application does not restrict low privilege user to access admin “projects“ for which an unauthorized user can view the “projects“ created by “Admin” and the affected endpoint is “/api/project?user=${userId}”.",
    "evidence": "osv:CVE-2022-32170",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2022-32170",
      "aliases": [
        "CVE-2022-32170",
        "GHSA-9mmc-27gw-w6mq"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/bytebase/bytebase",
              "type": "GIT",
              "events": [
                {
                  "introduced": "a95560a0eeedfc8b9b0f3178911f33c024aef67e"
                },
                {
                  "last_affected": "0bf9494aa0527dee35390994c3c210d9a6c9ff46"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0.1.0"
                      },
                      {
                        "last_affected": "1.0.4"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "SplitRange"
                  },
                  {
                    "cpe": "cpe:2.3:a:bytebase:bytebase:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.1.0"
                      },
                      {
                        "last_affected": "1.0.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.0.4",
            "1.0.3",
            "1.0.0",
            "0.10.0",
            "0.9.0",
            "0.8.1",
            "0.8.0",
            "0.7.2",
            "0.7.0",
            "0.6.0",
            "0.5.0",
            "0.4.1",
            "0.4.0",
            "0.3.0",
            "0.2.1",
            "0.2.0",
            "0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-32170.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:29.673062164Z",
      "provider": "osv",
      "references": [
        "https://github.com/bytebase/bytebase/blob/1.0.4/frontend/src/store/modules/project.ts#L166-L197",
        "https://www.mend.io/vulnerability-database/CVE-2022-32170",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/32xxx/CVE-2022-32170.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-32170"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-285"
        ],
        "cna_assigner": "Mend",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/32xxx/CVE-2022-32170.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-32170",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 496594,
  "published_at": "2022-09-28T09:30:18.081+00:00"
}