Vulnerability · Published Dec 21, 2020 · Assigned by GitHub_M

CVE-2020-26277Arbitrary read/write in DBdeployer

Medium 6.1

In plain English

A medium-severity security flaw in dbdeployer from datacharmer. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 68% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.1Medium
Exploit odds (30 days)1.2%top 31.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/datacharmer/dbdeployer1.58.2GHSA-47wr-426j-fr82
Gogithub.com/datacharmer/dbdeployer1.58.2GO-2022-0787

Affected products (as reported)

VendorProductVersions
datacharmer dbdeployer < 1.58.2

Weakness: CWE-59 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N

References