Live threats

All CVEs / Dbdeployer

CVE-2020-26277Dbdeployer

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
1.2%
probability of exploitation in 30 days · percentile 68
Auth required
No
Published
Dec 21, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-59
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N

What happens

DBdeployer is a tool that deploys MySQL database servers easily. In DBdeployer before version 1.58.2, users unpacking a tarball may use a maliciously packaged tarball that contains symlinks to files external to the target. In such scenario, an attacker could induce dbdeployer to write into a system file, thus altering the computer defenses. For the attack to succeed, the following factors need to contribute: 1) The user is logged in as root. While dbdeployer is usable as root, it was designed to run as unprivileged user. 2) The user has taken a tarball from a non secure source, without testing the checksum. When the tarball is retrieved through dbdeployer, the checksum is compared before attempting to unpack. This has been fixed in version 1.58.2.

Original NVD text.

What to do

  1. Apply the vendor's security update for Dbdeployer.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/datacharmer/dbdeployer < 1.58.2 1.58.2 go get github.com/datacharmer/dbdeployer@v1.58.2
Go github.com/datacharmer/dbdeployer < 1.58.2 1.58.2 go get github.com/datacharmer/dbdeployer@v1.58.2

Per OSV / GitHub Advisories (GHSA-47wr-426j-fr82, GO-2022-0787). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
dbdeployerdbdeployer< 1.58.2

Official sources

References

Links published by the sources. Open them with care.