{"id":"UBUNTU-CVE-2018-10057","details":"The remote management interface of cgminer 4.10.0 and bfgminer 5.5.0 allows an authenticated remote attacker to write the miner configuration file to arbitrary locations on the server due to missing basedir restrictions (absolute directory traversal).","modified":"2025-10-24T04:46:59Z","published":"2018-06-05T21:29:00Z","upstream":["CVE-2018-10057"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-10057"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2018/06/03/1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-10057"}],"affected":[{"package":{"name":"bfgminer","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/bfgminer@5.2.0+dfsg-1build1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.2.0+dfsg-1","5.2.0+dfsg-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"bfgminer","binary_version":"5.2.0+dfsg-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-10057.json"}},{"package":{"name":"cgminer","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/cgminer@4.9.2-1build1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.9.2-1","4.9.2-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"cgminer","binary_version":"4.9.2-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-10057.json"}},{"package":{"name":"bfgminer","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/bfgminer@5.4.2+dfsg-1build2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.4.2+dfsg-1build2"],"ecosystem_specific":{"binaries":[{"binary_name":"bfgminer","binary_version":"5.4.2+dfsg-1build2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-10057.json"}},{"package":{"name":"cgminer","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/cgminer@4.9.2-1build1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.9.2-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"cgminer","binary_version":"4.9.2-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-10057.json"}},{"package":{"name":"cgminer","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/cgminer@4.9.2-1build2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.9.2-1build2"],"ecosystem_specific":{"binaries":[{"binary_name":"cgminer","binary_version":"4.9.2-1build2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-10057.json"}},{"package":{"name":"cgminer","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/cgminer@4.9.2-1ubuntu1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.9.2-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"cgminer","binary_version":"4.9.2-1ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-10057.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}