Bad reference counting in the context of accepticeconnection() in gsm-xsmp-server.c in old versions of gnome-session up until version 2.29.92 allows a local attacker to establish ICE connections to gnome-session with invalid authentication data (an invalid magic cookie). Each failed authentication attempt will leak a file descriptor in gnome-session. When the maximum number of file descriptors is exhausted in the gnome-session process, it will enter an infinite loop trying to communicate without success, consuming 100% of the CPU. The graphical session associated with the gnome-session process will stop working correctly, because communication with gnome-session is no longer possible.
[
{
"target": {
"file": "gnome-session/gsm-xsmp-client.c",
"function": "_client_protocol_timeout"
},
"digest": {
"length": 313.0,
"function_hash": "196516828425854704600069833774869127186"
},
"signature_version": "v1",
"id": "CVE-2017-11171-094688f1",
"deprecated": false,
"source": "https://github.com/gnome/gnome-session/commit/b0dc999e0b45355314616321dbb6cb71e729fc9d",
"signature_type": "Function"
},
{
"target": {
"file": "gnome-session/gsm-xsmp-server.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"246052278573976905993052853135838941900",
"216647078693800071709536745575778831495",
"125323150175774701570763565704481192565",
"272648036610675759735126428858200186292",
"7199900871993228273929226317182801525",
"52244597089887208701768009408071698858",
"85818782022103225489704410279927911354",
"230972050434433537214918271328887738472",
"212881580650140877126829664296030337388",
"299800521118025171502328433359995331585",
"27077449239917566857221385230522791576",
"183682617022268511733557701096345486089",
"135065171883166116432362015177700911615",
"224765835644235508839002097000208667859",
"8339843695161604761840868336158755625",
"89472297819279049436313013198908180690",
"75308604784820499114341534840883307329",
"264151996534980048357108366636928652024",
"332623564837455526954761976411220291091",
"327954259321688031300489987730323425152",
"211018499808660414595635994547364618313",
"211880672526964726539568834908218269246",
"9637136472113501042834424912329040681",
"295903890061907289061289063725386580394",
"165400235409505735919088684549478546481",
"263196535468032941744366878025861593316",
"74257714660273787449220531844018483487",
"156935924700118813649972528964293913141",
"301546150717769694620434142133319669549",
"57428275378058971095913522759901558853",
"212562150894167345899335704470970043386",
"256567119145155710014301156217794441256",
"269827114286147280380867059246656545283",
"141850781719880053140909988083024156112",
"30095422911489077731553098645660852775",
"304048611345355723494337788773215077054"
]
},
"signature_version": "v1",
"id": "CVE-2017-11171-0c51ba99",
"deprecated": false,
"source": "https://github.com/gnome/gnome-session/commit/b0dc999e0b45355314616321dbb6cb71e729fc9d",
"signature_type": "Line"
},
{
"target": {
"file": "gnome-session/gsm-xsmp-client.c",
"function": "gsm_xsmp_client_connect"
},
"digest": {
"length": 1978.0,
"function_hash": "302317858585378050085591924582156896942"
},
"signature_version": "v1",
"id": "CVE-2017-11171-7624cf71",
"deprecated": false,
"source": "https://github.com/gnome/gnome-session/commit/b0dc999e0b45355314616321dbb6cb71e729fc9d",
"signature_type": "Function"
},
{
"target": {
"file": "gnome-session/gsm-xsmp-client.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"164155508443156060304660115733379353465",
"46562645610390457966472196967927045851",
"237342975235701095686332348773801704354",
"133087739453313786153791781010245281623",
"73184234532666125044957382848032225420",
"174881206082921373697632575276489932386",
"304611542578597753427393407466559067527",
"301265976706046814283920294569055586675",
"338624178062875522381470896521430771216",
"105720447373571480362085806578673557193",
"331851902089008826521795398507568492305",
"178395035042022178600182398204051566617",
"296942518513271823871942324070953836909",
"49158315172815176435770622926942182343",
"103871556222061905348288388073546077899",
"104490782869903383601651043675990396568",
"315885872583185139327110227606084325210",
"159178821082147474607753870640761735337",
"216840881908658432527363567183409828119",
"132079026218626214004472901776221219405",
"85694775748452861855016398568011920527",
"334446916947422948205770671346649677247",
"183404435767535704498759472213751966699",
"338457941626081683414157259530028153492",
"13496024676199772868601476962864016851",
"140095063926738880239194977870480754084",
"150897119120354154261228843133628515145",
"188411745139188377735092676114819328990",
"924587825911717173386393544955072693",
"169920702496948769733862218930122859408",
"218145862260884007122102276710543524675",
"145943303892553474499677898590865096028",
"335070514527316704830969885792182335334",
"250392036159702582678132126853695445483",
"49428595766736728804586579102091651945",
"301246866214731398401683168926168350711"
]
},
"signature_version": "v1",
"id": "CVE-2017-11171-8e6d492e",
"deprecated": false,
"source": "https://github.com/gnome/gnome-session/commit/b0dc999e0b45355314616321dbb6cb71e729fc9d",
"signature_type": "Line"
},
{
"target": {
"file": "gnome-session/gsm-xsmp-server.c",
"function": "accept_ice_connection"
},
"digest": {
"length": 549.0,
"function_hash": "965721689899034524941069827456668968"
},
"signature_version": "v1",
"id": "CVE-2017-11171-ae1ee605",
"deprecated": false,
"source": "https://github.com/gnome/gnome-session/commit/b0dc999e0b45355314616321dbb6cb71e729fc9d",
"signature_type": "Function"
},
{
"target": {
"file": "gnome-session/gsm-xsmp-client.c",
"function": "gsm_xsmp_client_disconnect"
},
"digest": {
"length": 454.0,
"function_hash": "211663146165553600761632647029834317642"
},
"signature_version": "v1",
"id": "CVE-2017-11171-ca42a0de",
"deprecated": false,
"source": "https://github.com/gnome/gnome-session/commit/b0dc999e0b45355314616321dbb6cb71e729fc9d",
"signature_type": "Function"
},
{
"target": {
"file": "gnome-session/gsm-xsmp-client.c",
"function": "setup_connection"
},
"digest": {
"length": 608.0,
"function_hash": "293494865280888655094723583307756506660"
},
"signature_version": "v1",
"id": "CVE-2017-11171-cc931597",
"deprecated": false,
"source": "https://github.com/gnome/gnome-session/commit/b0dc999e0b45355314616321dbb6cb71e729fc9d",
"signature_type": "Function"
},
{
"target": {
"file": "gnome-session/gsm-xsmp-server.c",
"function": "accept_xsmp_connection"
},
"digest": {
"length": 535.0,
"function_hash": "223928067718034735288075763649363180867"
},
"signature_version": "v1",
"id": "CVE-2017-11171-df01c64d",
"deprecated": false,
"source": "https://github.com/gnome/gnome-session/commit/b0dc999e0b45355314616321dbb6cb71e729fc9d",
"signature_type": "Function"
}
]