Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/datacharmer/dbdeployer
  4. ›
  5. CVE-2020-26277

CVE-2020-26277: Improper Link Resolution Before File Access ('Link Following')

February 12, 2022

DBdeployer is a tool that deploys MySQL database servers easily. In DBdeployer, 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.

References

  • github.com/advisories/GHSA-47wr-426j-fr82
  • github.com/datacharmer/dbdeployer/commit/548e256c1de2f99746e861454e7714ec6bc9bb10
  • github.com/datacharmer/dbdeployer/security/advisories/GHSA-47wr-426j-fr82
  • nvd.nist.gov/vuln/detail/CVE-2020-26277

Code Behaviors & Features

Detect and mitigate CVE-2020-26277 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.58.2

Fixed versions

  • v1.58.2

Solution

Upgrade to version 1.58.2 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-59: Improper Link Resolution Before File Access ('Link Following')

Source file

go/github.com/datacharmer/dbdeployer/CVE-2020-26277.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:59 +0000.