CVE-2020-26277

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:dbdeployer:dbdeployer:*:*:*:*:*:*:*:*

History

21 Nov 2024, 05:19

Type Values Removed Values Added
References () https://github.com/datacharmer/dbdeployer/commit/548e256c1de2f99746e861454e7714ec6bc9bb10 - Patch, Third Party Advisory () https://github.com/datacharmer/dbdeployer/commit/548e256c1de2f99746e861454e7714ec6bc9bb10 - Patch, Third Party Advisory
References () https://github.com/datacharmer/dbdeployer/security/advisories/GHSA-47wr-426j-fr82 - Third Party Advisory () https://github.com/datacharmer/dbdeployer/security/advisories/GHSA-47wr-426j-fr82 - Third Party Advisory

Information

Published : 2020-12-21 22:15

Updated : 2024-11-21 05:19


NVD link : CVE-2020-26277

Mitre link : CVE-2020-26277

CVE.ORG link : CVE-2020-26277


JSON object : View

Products Affected

dbdeployer

  • dbdeployer
CWE
CWE-59

Improper Link Resolution Before File Access ('Link Following')