CVE-2020-26277
MEDIUM 6.1CVSS 3.1Symbolic links in an unpacking routine may enable attackers to read and/or write to arbitrary locations in dbdeployer
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.
- Published
- 21 Dec 2020
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-59
- Also known as
- GHSA-47wr-426j-fr82GO-2022-0787
- Sources
- NVDJSONOSV GHSA-47wr-426j-fr82JSONOSV GO-2022-0787JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:H/Au:N/C:N/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | dbdeployer | dbdeployercpe:2.3:a:dbdeployer:dbdeployer:*:*:*:*:*:*:*:* |
< 1.58.2 | 1.58.2 |
| OSV | Go | github.com/datacharmer/dbdeployer | < 1.58.2 | 1.58.2 |
References
- https://github.com/datacharmer/dbdeployer/commit/548e256c1de2f99746e861454e7714ec6bc9bb10 · Patch, Third Party Advisory, WEB, FIX
- https://github.com/datacharmer/dbdeployer/security/advisories/GHSA-47wr-426j-fr82 · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2020-26277 · ADVISORY
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 21 Dec 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 12 Feb 2022)