CVE-2017-11171

Source
https://nvd.nist.gov/vuln/detail/CVE-2017-11171
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-11171.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2017-11171
Downstream
Related
Published
2017-07-11T20:29:00.267Z
Modified
2025-11-20T10:35:25.375296Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/gnome/gnome-session

Affected ranges

Type
GIT
Repo
https://github.com/gnome/gnome-session
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

Other

DROOLING_MACAQUE
GGV_0_61
GNOME_0_12
GNOME_0_20
GNOME_0_20a
GNOME_0_25
GNOME_0_27
GNOME_0_28_MARTIN
GNOME_0_30
GNOME_0_30_PATCHES
GNOME_0_99_2
GNOME_0_99_3
GNOME_0_99_7
GNOME_0_99_8
GNOME_0_99_8_1
GNOME_1_5_3
GNOME_2_10_BRANCHPOINT
GNOME_2_12_BRANCHPOINT
GNOME_2_14_BRANCHPOINT
GNOME_2_16_BRANCHPOINT
GNOME_2_24_BRANCHPOINT
GNOME_2_2_BRANCHPOINT
GNOME_2_4_BRANCHPOINT
GNOME_2_6_BRANCHPOINT
GNOME_2_8_BRANCHPOINT
GNOME_CORE_1_0_0_1
GNOME_CORE_1_0_1
GNOME_CORE_1_0_3
GNOME_CORE_1_0_4
GNOME_CORE_1_0_5
GNOME_CORE_1_0_ANCHOR
GNOME_CORE_1_1_0
GNOME_CORE_1_1_1
GNOME_CORE_1_1_2
GNOME_CORE_1_1_3
GNOME_CORE_1_1_4
GNOME_CORE_1_1_5
GNOME_CORE_1_1_6
GNOME_CORE_1_1_8
GNOME_CORE_1_1_9
GNOME_CORE_1_2_0
GNOME_CORE_1_2_2
GNOME_CORE_1_2_3_1
GNOME_CORE_1_2_99_2
GNOME_CORE_1_3_0
GNOME_CORE_1_3_1
GNOME_CORE_1_4_0
GNOME_CORE_1_4_0_1
GNOME_CORE_1_4_0_3
GNOME_CORE_1_4_0_4
GNOME_CORE_1_4_ANCHOR
GNOME_CORE_1_5_1
GNOME_CORE_1_5_2
GNOME_CORE_1_5_4
GNOME_CORE_1_5_5
GNOME_CORE_1_5_6
GNOME_CORE_1_5_7
GNOME_CORE_1_5_8
GNOME_CORE_MODULE_SPLIT
GNOME_DESKTOP_2_5_92
GNOME_PRINT_0_24
GNOME_SESSION_1_5_10
GNOME_SESSION_1_5_11
GNOME_SESSION_1_5_12
GNOME_SESSION_1_5_13
GNOME_SESSION_1_5_14
GNOME_SESSION_1_5_15
GNOME_SESSION_1_5_16
GNOME_SESSION_1_5_17
GNOME_SESSION_1_5_18
GNOME_SESSION_1_5_19
GNOME_SESSION_1_5_20
GNOME_SESSION_1_5_21
GNOME_SESSION_1_5_9
GNOME_SESSION_2_0_0
GNOME_SESSION_2_0_1
GNOME_SESSION_2_0_2
GNOME_SESSION_2_0_3
GNOME_SESSION_2_10_0
GNOME_SESSION_2_11_1
GNOME_SESSION_2_11_90
GNOME_SESSION_2_11_91
GNOME_SESSION_2_12_0
GNOME_SESSION_2_13_4
GNOME_SESSION_2_13_5
GNOME_SESSION_2_13_90
GNOME_SESSION_2_13_91
GNOME_SESSION_2_13_92
GNOME_SESSION_2_14_0
GNOME_SESSION_2_14_1
GNOME_SESSION_2_15_1
GNOME_SESSION_2_15_4
GNOME_SESSION_2_15_90
GNOME_SESSION_2_15_91
GNOME_SESSION_2_15_92
GNOME_SESSION_2_16_0
GNOME_SESSION_2_16_1
GNOME_SESSION_2_17_2
GNOME_SESSION_2_17_3
GNOME_SESSION_2_17_5
GNOME_SESSION_2_17_90
GNOME_SESSION_2_17_90_1
GNOME_SESSION_2_17_91
GNOME_SESSION_2_17_92
GNOME_SESSION_2_18_0
GNOME_SESSION_2_19_2
GNOME_SESSION_2_19_3
GNOME_SESSION_2_19_4
GNOME_SESSION_2_19_5
GNOME_SESSION_2_19_6
GNOME_SESSION_2_19_90
GNOME_SESSION_2_19_92
GNOME_SESSION_2_1_0
GNOME_SESSION_2_1_1
GNOME_SESSION_2_1_2
GNOME_SESSION_2_1_3
GNOME_SESSION_2_1_4
GNOME_SESSION_2_1_5
GNOME_SESSION_2_1_90
GNOME_SESSION_2_20_0
GNOME_SESSION_2_20_1
GNOME_SESSION_2_21_5
GNOME_SESSION_2_21_90
GNOME_SESSION_2_21_91
GNOME_SESSION_2_21_92
GNOME_SESSION_2_21_93
GNOME_SESSION_2_22_0
GNOME_SESSION_2_23_1
GNOME_SESSION_2_23_1_1
GNOME_SESSION_2_23_2
GNOME_SESSION_2_23_2_1
GNOME_SESSION_2_23_2_2
GNOME_SESSION_2_23_3
GNOME_SESSION_2_23_6
GNOME_SESSION_2_23_90
GNOME_SESSION_2_23_91
GNOME_SESSION_2_23_92
GNOME_SESSION_2_24_0
GNOME_SESSION_2_24_1
GNOME_SESSION_2_25_2
GNOME_SESSION_2_25_3
GNOME_SESSION_2_25_5
GNOME_SESSION_2_25_90
GNOME_SESSION_2_25_91
GNOME_SESSION_2_25_92
GNOME_SESSION_2_26_0
GNOME_SESSION_2_26_0_90
GNOME_SESSION_2_26_1
GNOME_SESSION_2_27_4
GNOME_SESSION_2_27_5
GNOME_SESSION_2_27_91
GNOME_SESSION_2_27_92
GNOME_SESSION_2_28_0
GNOME_SESSION_2_29_6
GNOME_SESSION_2_2_0
GNOME_SESSION_2_2_0_1
GNOME_SESSION_2_2_0_2
GNOME_SESSION_2_3_0
GNOME_SESSION_2_3_1
GNOME_SESSION_2_3_2
GNOME_SESSION_2_3_3
GNOME_SESSION_2_3_3_1
GNOME_SESSION_2_3_4
GNOME_SESSION_2_3_6
GNOME_SESSION_2_3_6_1
GNOME_SESSION_2_3_6_2
GNOME_SESSION_2_3_7
GNOME_SESSION_2_3_90
GNOME_SESSION_2_4_0
GNOME_SESSION_2_4_1
GNOME_SESSION_2_5_1
GNOME_SESSION_2_5_2
GNOME_SESSION_2_5_3
GNOME_SESSION_2_5_4
GNOME_SESSION_2_5_5
GNOME_SESSION_2_5_90
GNOME_SESSION_2_5_91
GNOME_SESSION_2_5_92
GNOME_SESSION_2_6_0
GNOME_SESSION_2_6_1
GNOME_SESSION_2_7_1
GNOME_SESSION_2_7_3
GNOME_SESSION_2_7_4
GNOME_SESSION_2_7_91
GNOME_SESSION_2_7_92
GNOME_SESSION_2_8_0
GNOME_SESSION_2_8_1
GNOME_SESSION_2_9_2
GNOME_SESSION_2_9_4
GNOME_SESSION_BEFORE_NEW_CODE
GNOME_STABLE_ANCHOR
OWEN_SMPROXY
PANTING_CHIMPANZEE
POST_1_0_MERGE
PREPARED_2_3_1
PRE_1_0_MERGE
PRE_PANEL2
ROSALIA_BEFORE_COMMITTING_DL_AND_GNOME_HELLO
SNAP_19971121
V_0_11
bp_panel-1-1-test
help
merge-from-trunk-19990823

Database specific

vanir_signatures

[
    {
        "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"
    }
]