Buffer overflow in Bfgminer
CVE-2014-4502
Multiple heap-based buffer overflows in the parse_notify function in sgminer before 4.2.2, cgminer before 4.3.5, and BFGMiner before 4.1.0 allow remote pool servers to have unspecified impact via a (1) large or (2) negative value in the Extranonc2_size parameter in a mining.subscribe response and a crafted mining.notify request.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v2 metric
CVSS v2 base score 10.0 (High). Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.033, 88.7th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Bfgminer — versions 3.2.0, 3.2.1, 3.2.2
- Sgminer Project — versions 4.0.0, 4.1.0, 4.1.153
Weakness classification (CWE)
References
- www.securityfocus.com/bid/68831 (vdb-entry)
- github.com/luke-jr/bfgminer/commit/ff7f30129f15f7a2213f8ced0cd65c9a331493d9 (Exploit, Patch)
- github.com/sgminer-dev/sgminer/commit/bac5831b355f916e0696b7bbcccfc51c057b729a (Exploit, Patch)
- github.com/sgminer-dev/sgminer/issues/258
- 20140722 CVE-2014-4502 : Invalid Handling of Length Parameter in Stratum mining.notify Message Leads to Heap Overflow (mailing-list)
- github.com/ckolivas/cgminer/commit/e1c5050734123973b99d181c45e74b2cbb00272e (Exploit, Patch)