🛡️ CVE-2015-8618 — stdlib
Description
Incorrect calculation affecting RSA computations in math/big
Int.Exp Montgomery mishandled carry propagation and produced an incorrect output, which makes it easier for attackers to obtain private RSA keys via unspecified vectors.
This issue can affect RSA computations in crypto/rsa, which is used by crypto/tls. TLS servers on 32-bit systems could plausibly leak their RSA private key due to this issue. Other protocol implementations that create many RSA signatures could also be impacted in the same way.
Specifically, incorrect results in one part of the RSA Chinese Remainder computation can cause the result to be incorrect in such a way that it leaks one of the primes. While RSA blinding should prevent an attacker from crafting specific inputs that trigger the bug, on 32-bit systems the bug can be expected to occur at random around one in 2^26 times. Thus collecting around 64 million signatures (of known data) from an affected server should be enough to extract the private key used.
Note that on 64-bit systems, the frequency of the bug is so low (less than one in 2^50) that it would be very difficult to exploit.
Affected software
CVE-2015-8618 is recorded against 1 package.
- stdlib
Timeline and source
Published on 5 January 2022 and last revised on 20 May 2024. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from OSV.
References
go.dev (Fix)
go.googlesource.com (Fix)
go.googlesource.com (Fix)
go.dev (Fix)
go.dev (Report)
groups.google.com (Web)
Details
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| stdlib | — | — |
References
Similar Threats
- Unknown CVE-2016-5386
- High CVE-2020-0601
- Unknown CVE-2018-16875
- Unknown CVE-2017-8932
- Unknown CVE-2019-14809
More CVE 2015 advisories
Browse all of CVE 2015 in the advisory index.
Free Vulnerability Check
Is your site affected by CVE-2015-8618?
BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against CVE-2015-8618 and other known CVE records.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.