electron-updater: Cross-origin redirect leaks `PRIVATE-TOKEN` and mixed-case `Authorization` credentials in `builder-util-runtime`
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| electron-userland | electron-builder | affected |
|
||||||
| electron-userland | builder-util-runtime | affected |
|
Configuration 1 [-]
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Electron-userland | Builder-util-runtime |
|
||||||||
| Electron-userland | Electron-builder |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-p2f4-r6v6-j797 | electron-updater: Cross-origin redirect leaks `PRIVATE-TOKEN` and mixed-case `Authorization` credentials in `builder-util-runtime` |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.407% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Electron
Electron builder-util-runtime Electron electron-builder |
|
| CPEs | cpe:2.3:a:electron:builder-util-runtime:*:*:*:*:*:node.js:*:* cpe:2.3:a:electron:electron-builder:*:*:*:*:*:node.js:*:* |
|
| Vendors & Products |
Electron
Electron builder-util-runtime Electron electron-builder |
|
| Metrics |
cvssV3_1
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-201 | |
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Electron-userland
Electron-userland builder-util-runtime Electron-userland electron-builder |
|
| Vendors & Products |
Electron-userland
Electron-userland builder-util-runtime Electron-userland electron-builder |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | electron-updater allows for automatic updates for Electron apps. Prior to 9.7.0, the HTTP redirect handler (HttpExecutor.prepareRedirectUrlOptions) only stripped a credential header whose key string matched exactly lowercase "authorization", exposing credentials. Other credential-bearing headers — most notably PRIVATE-TOKEN (used by GitLab's personal access token flow) and mixed-case Authorization (used by GitLab's Bearer/OAuth flow) — were not stripped and could be forwarded to an attacker-controlled cross-origin redirect destination. This issue has been fixed in version 9.7.0. | |
| Title | electron-updater: Cross-origin redirect leaks `PRIVATE-TOKEN` and mixed-case `Authorization` credentials in `builder-util-runtime` | |
| Weaknesses | CWE-200 | |
| References |
| |
| Metrics |
cvssV4_0
|