Bytebase 0.12.0 before 1.0.1 Authentication Bypass via GitLab Self-Hosted Login
Bytebase 0.12.0 before 1.0.1 contains an authentication bypass vulnerability that allows unauthenticated attackers to log in as any user. The flaw stems from trusting client-supplied GitLab provider configuration in the POST /api/auth/login/GITLAB_SELF_HOST endpoint. Attackers can set instanceUrl to a server they control that returns an active user with a chosen email. Bytebase then issues session tokens for that principal, letting attackers impersonate existing users including the Owner or create new members.
CVE-2022-51026
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2022-51026
bytebase
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://github.com/bytebase/bytebase",
"vendor": "bytebase",
"product": "bytebase",
"versions": [
{
"status": "affected",
"version": "0.12.0",
"lessThan": "1.0.1",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "1.0.1",
"versionType": "semver"
}
],
"packageURL": "pkg:golang/github.com/bytebase/bytebase",
"defaultStatus": "unaffected"
}
]- Related CVEs
- CVE-2022-51026
Source reference:
/cveMetadata/cveId
Publisher severity
critical
Source reference: /containers/cna/metrics
- Event
- #52304 · Revision 1
- Added to Heist Feed
- Publisher date