The stream reading functions in lib/opencdk/read-packet.c in GnuTLS before 3.3.26 and 3.5.x before 3.5.8 allow remote attackers to cause a denial of service (out-of-memory error and crash) via a crafted OpenPGP certificate.
[
{
"signature_version": "v1",
"target": {
"function": "read_subpkt",
"file": "lib/opencdk/read-packet.c"
},
"source": "https://gitlab.com/gnutls/gnutls@49be4f7b82eba2363bb8d4090950dad976a77a3a",
"digest": {
"length": 1005.0,
"function_hash": "173370186425216051856576524554546769698"
},
"deprecated": false,
"id": "CVE-2017-5335-2248b091",
"signature_type": "Function"
},
{
"signature_version": "v1",
"target": {
"function": "read_16",
"file": "lib/opencdk/read-packet.c"
},
"source": "https://gitlab.com/gnutls/gnutls@49be4f7b82eba2363bb8d4090950dad976a77a3a",
"digest": {
"length": 214.0,
"function_hash": "202652325685208525720256842055047074462"
},
"deprecated": false,
"id": "CVE-2017-5335-75ee34a5",
"signature_type": "Function"
},
{
"signature_version": "v1",
"target": {
"file": "lib/opencdk/read-packet.c"
},
"source": "https://gitlab.com/gnutls/gnutls@49be4f7b82eba2363bb8d4090950dad976a77a3a",
"digest": {
"line_hashes": [
"97025789484589273028894834201887238500",
"21693505129573805742854257816871585459",
"289288783026468716449259969206354292453",
"71131254618710673026940145563583970706",
"335167304477489244653143105540771569505",
"139273541441737161444557659972680030034",
"54001353640190001688285935095997380432",
"37831614239002453827761358793735238768",
"70280102920963488289550209725004181472",
"29353714144875812649955064968999048589",
"330928655278963280845309208934048483155",
"234200606342340056357344579981022106140",
"88991884459370799978715297445463612771",
"315900219204896802563834027408531735966",
"260487507412846457305330158444846002172",
"78652860453482259365055539434260332121",
"12781057437183825771474524764321133049",
"51189185514732702383358211503176736066",
"252861100218057166961844461554346012476",
"32882006438626824853562627735153585720",
"144590460383025779876227611329138204537",
"292890858381119607877015641138785285286",
"190146771974851191314663003777114231164",
"333737614585693777505867122133818505300",
"251395218298952988815333995076389696824",
"232217484494522735275836954580579051946",
"183730216342456955957252249911643293624",
"197950859200607756754195227942101557568",
"324620924509132672313323080294213889287",
"248711710365418597415593709573581782632",
"203955449696949260569769205303671090037",
"60084880074366323421702487170269061040",
"214521059503675761813277827086669541176",
"129162968225260504557127682055298330885",
"246461238475287298428386084244059041333",
"134212755190438324492435711432331762943",
"134441828837176452791790774583127821340",
"112588776070044777866528614668008963229",
"93994620107930541748327758256583977546",
"336566504986281725663541156896448665223",
"264245910213012526646264279243491515450",
"262966771345243676497055106436463828972",
"304094868594259019943049805343803441368",
"313278607808056234900725587414523142643",
"96726374793194596349117252107000881935",
"7627788071160236123623179400347376211",
"6862839196194606111852102304959252358",
"197714853656542969783569664499561728752",
"92333152977770427196877394612005678280",
"244450315429900482272533750285511171833",
"191072580524901457327489274907454714027",
"88708394484863516659399041067283238849",
"317406092041611844163186418749943714769",
"145710651427002373749123037253168117576",
"131303170853215999635428308310807838583",
"202241744204862457686956154615242951492"
],
"threshold": 0.9
},
"deprecated": false,
"id": "CVE-2017-5335-80661cfe",
"signature_type": "Line"
},
{
"signature_version": "v1",
"target": {
"function": "read_32",
"file": "lib/opencdk/read-packet.c"
},
"source": "https://gitlab.com/gnutls/gnutls@49be4f7b82eba2363bb8d4090950dad976a77a3a",
"digest": {
"length": 250.0,
"function_hash": "91754981059721123510329547530566409628"
},
"deprecated": false,
"id": "CVE-2017-5335-975e0492",
"signature_type": "Function"
},
{
"signature_version": "v1",
"target": {
"function": "read_old_length",
"file": "lib/opencdk/read-packet.c"
},
"source": "https://gitlab.com/gnutls/gnutls@49be4f7b82eba2363bb8d4090950dad976a77a3a",
"digest": {
"length": 369.0,
"function_hash": "248442577140971374149110516301351556856"
},
"deprecated": false,
"id": "CVE-2017-5335-d3e8f061",
"signature_type": "Function"
},
{
"signature_version": "v1",
"target": {
"function": "read_new_length",
"file": "lib/opencdk/read-packet.c"
},
"source": "https://gitlab.com/gnutls/gnutls@49be4f7b82eba2363bb8d4090950dad976a77a3a",
"digest": {
"length": 448.0,
"function_hash": "306645502198445566193425303517908092766"
},
"deprecated": false,
"id": "CVE-2017-5335-dd5e2aa6",
"signature_type": "Function"
}
]