DbGate: Zip Slip in archive/unzip allows arbitrary file write leading to RCE
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| dbgate | dbgate | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Dbgate | Dbgate |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-h535-j5hr-mv56 | DbGate: Zip Slip in archive/unzip allows arbitrary file write leading to RCE |
No CVSS v3.1
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.515% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Dbgate
Dbgate dbgate |
|
| Vendors & Products |
Dbgate
Dbgate dbgate |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | DbGate is cross-platform database manager. In versions 7.1.8 and prior, the `unzipDirectory()` function in `packages/api/src/shell/unzipDirectory.js` (line 27) does not validate that extracted file paths stay within the output directory. A malicious ZIP with `../` entries writes files anywhere on the filesystem. In the default Docker deployment, DbGate runs as root and the `none` auth provider issues JWT tokens without credentials via `POST /auth/login`, so this is exploitable by any network-adjacent attacker. Version 7.1.9 fixes the issue. | |
| Title | DbGate: Zip Slip in archive/unzip allows arbitrary file write leading to RCE | |
| Weaknesses | CWE-22 | |
| References |
| |
| Metrics |
cvssV4_0
|