Loop with Unreachable Exit Condition ('Infinite Loop') Affecting gnome-session package, versions <2.30.0-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.32% (26th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN12-GNOMESESSION-1547223
  • published11 Jul 2017
  • disclosed11 Jul 2017

Introduced: 11 Jul 2017

CVE-2017-11171  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade Debian:12 gnome-session to version 2.30.0-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gnome-session package and not the gnome-session package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

Bad reference counting in the context of accept_ice_connection() 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.