RsaPad_PSS in wolfcrypt/src/rsa.c in wolfSSL before 4.6.0 has an out-of-bounds write for certain relationships between key size and digest size.
[
{
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "wolfcrypt/src/rsa.c",
"function": "RsaPad_PSS"
},
"source": "https://github.com/wolfssl/wolfssl/commit/fb2288c46dd4c864b78f00a47a364b96a09a5c0f",
"digest": {
"length": 3081.0,
"function_hash": "264827503117103137381520981783684502268"
},
"id": "CVE-2020-36177-03c1f61b"
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "wolfcrypt/src/rsa.c"
},
"source": "https://github.com/wolfssl/wolfssl/commit/fb2288c46dd4c864b78f00a47a364b96a09a5c0f",
"digest": {
"line_hashes": [
"244815057942282647704864094280604518122",
"123195831299163795745100102789505259996",
"309197391360104330999440084668058661684",
"223146927799649566694162939976658908098",
"157950005634068540855893224554786606773",
"2282713271697244534451274437673194079",
"187845394820170994270299454468444059367",
"52726399942148932508781299152087779106",
"34943820391457858706721849243820306433",
"259562928944948835646167924459328588964",
"287813323524317699182752393365196798478",
"322024080002241617975419750365199625970",
"41941024797507571717993383206268874663",
"146733773366898157865344531513444698049",
"241161486851679814673571446896303206491",
"331787621892583087312045700383027127388",
"318152332990762196055583516693558984668",
"122476733053937695029843239693435363133",
"130769971250333428400709323991852545009",
"65729659553828944432268725332215656968",
"290483538726766040594276124988884833412",
"238338465984659128903116804957332847952",
"6517069392918277216799451500978290475",
"28217279333432533698061129410179353200",
"155768245028890335374704626374571268873",
"123065967750714728483204853449574795461",
"4165696885982239691162648787916102708",
"106384731890444553251747088636781840227",
"118449229286489254222740503918275919187",
"12804832652334037016008962743515846191",
"311334367273864107559091901172400196359",
"111505162837627812298630060997139385864",
"275283786168184748658947656770546945395",
"141825205460509034935881322110166488814"
],
"threshold": 0.9
},
"id": "CVE-2020-36177-adf7e918"
}
]