wolfcrypt/src/ecc.c in wolfSSL before 3.15.1.patch allows a memory-cache side-channel attack on ECDSA signatures, aka the Return Of the Hidden Number Problem or ROHNP. To discover an ECDSA key, the attacker needs access to either the local machine or a different virtual machine on the same physical host.
[
{
"signature_type": "Function",
"deprecated": false,
"id": "CVE-2018-12436-03e5e19c",
"digest": {
"length": 798.0,
"function_hash": "97098694070618479796839824861712676912"
},
"source": "https://github.com/wolfssl/wolfssl/commit/9b9568d500f31f964af26ba8d01e542e1f27e5ca",
"signature_version": "v1",
"target": {
"function": "wc_ecc_gen_k",
"file": "wolfcrypt/src/ecc.c"
}
},
{
"signature_type": "Function",
"deprecated": false,
"id": "CVE-2018-12436-7d2e4743",
"digest": {
"length": 6073.0,
"function_hash": "329601971156733586894920632165393768916"
},
"source": "https://github.com/wolfssl/wolfssl/commit/9b9568d500f31f964af26ba8d01e542e1f27e5ca",
"signature_version": "v1",
"target": {
"function": "wc_ecc_sign_hash_ex",
"file": "wolfcrypt/src/ecc.c"
}
},
{
"signature_type": "Line",
"deprecated": false,
"id": "CVE-2018-12436-9be8702e",
"digest": {
"line_hashes": [
"180105540832317960135869179642485368458",
"219670112345521747196662040631326145700",
"16111731207495186350516201396152731575",
"84580058371629366077470150564612674802",
"338280410321397857655128996363835051309",
"275739291280294658398206417064560146914",
"43222418277609380264329009969200061082",
"281911540114982861058971188872665423747",
"120207583837105358401042174516439733029",
"35144380420131484861593369048590002852",
"287111173886096549423603016843712953966",
"224969320601590970213067024922785565873",
"116541833046167184336218681229605942449",
"297537371672909726796839019846523928632",
"30414633575863347317212229842143138176",
"139116827036489476815642640892002953346",
"141218504163137182235295909753019846141",
"18542260038182372672688065707602259741",
"164561830877312627579682711805580772728",
"75202648303631630100611227098050061419",
"227368077280084628061074102065322406230",
"319585949210892297687748878719963247398",
"101638936496678138146601086666856366866",
"210294045997350206660528821359663780294",
"169857514239109531428198600871698928543",
"194089326328324240590752388381939524044",
"216345207333688073353394951787849222414",
"157954063479739293112728240484396121451",
"6030899692141079888304492776418959104",
"238170310874901192081407911422618976324",
"11404882872460344036499629001227805627",
"303394133142596662493052787285145781651",
"170803551361033665570430574072960793399",
"293702046138194098313276599765382829765",
"161964254929860119880494294595042289820",
"113536867443714089690266207735977194456",
"331957245513875143663211821403297561902",
"1047273769436126680075077787862867170",
"99632092121648833459388601988131629043",
"237104132855061567602291230687355861176",
"229257314256408985491156933656895597416",
"280275082197584052408944518295226672803",
"275684663132770170878378752916701360836"
],
"threshold": 0.9
},
"source": "https://github.com/wolfssl/wolfssl/commit/9b9568d500f31f964af26ba8d01e542e1f27e5ca",
"signature_version": "v1",
"target": {
"file": "wolfcrypt/src/ecc.c"
}
}
]