{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-26277","id":"CVE-2020-26277","title":"Arbitrary read/write in DBdeployer","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 ","descriptionLong":"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":"2020-12-21T21:15:14.000Z","updated":"2026-10-20T10:52:57.035178181Z","reserved":"2020-10-01T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N","rating":"medium","source":"GitHub"},{"version":"2.0","score":4,"vector":"AV:N/AC:H/Au:N/C:N/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"medium","products":["datacharmer dbdeployer"],"affectedProducts":[{"vendor":"datacharmer","product":"dbdeployer","defaultStatus":null,"versions":[{"status":"affected","version":"< 1.58.2"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/datacharmer/dbdeployer","purl":"pkg:golang/github.com/datacharmer/dbdeployer","ranges":["<1.58.2"],"fixed":["1.58.2"],"advisory":"GHSA-47wr-426j-fr82"}],"cwes":["CWE-59"],"aliases":["GHSA-47wr-426j-fr82","GO-2022-0787"],"references":[{"url":"https://github.com/datacharmer/dbdeployer/security/advisories/GHSA-47wr-426j-fr82","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/datacharmer/dbdeployer/commit/548e256c1de2f99746e861454e7714ec6bc9bb10","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26277","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01201,"epssPercentile":0,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-26277","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26277","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-26277","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-47wr-426j-fr82","ok":true,"note":"GHSA-47wr-426j-fr82"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-26277","ok":true,"note":"scored "}],"aiTitle":false,"tech":[],"critical":[],"attention":null}