Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 939031 (CVE-2018-10057, CVE-2018-10058) - net-misc/cgminer: Multiple vulnerabilities
Summary: net-misc/cgminer: Multiple vulnerabilities
Status: UNCONFIRMED
Alias: CVE-2018-10057, CVE-2018-10058
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Security
URL: https://repology.org/project/cgminer/...
Whiteboard: B3 [upstream/ebuild]
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-09-04 07:56 UTC by Filip Kobierski
Modified: 2024-09-04 11:11 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Kobierski 2024-09-04 07:56:35 UTC
- CVE-2018-10057 - Write the miner configuration file to arbitrary locations
- CVE-2018-10058 - Arbitrary code execution, out of bounds write

I have created a PR fixing this:
https://github.com/gentoo/gentoo/pull/38409
Comment 1 Hans de Graaff gentoo-dev Security 2024-09-04 11:11:29 UTC
CVE-2018-10057

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



CVE-2018-10058

The remote management interface of cgminer 4.10.0 and bfgminer 5.5.0 allows an authenticated remote attacker to execute arbitrary code due to a stack-based buffer overflow in the addpool, failover-only, poolquota, and save command handlers.