Loop with Unreachable Exit Condition ('Infinite Loop') Affecting xorg-x11-server-common package, versions <0:1.20.4-7.amzn2.0.1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.05% (18th 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-AMZN2-XORGX11SERVERCOMMON-1680402
  • published27 Sept 2021
  • disclosed25 Aug 2018

Introduced: 25 Aug 2018

CVE-2018-15856  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 xorg-x11-server-common to version 0:1.20.4-7.amzn2.0.1 or higher.
This issue was patched in ALAS2-2020-1433.

NVD Description

Note: Versions mentioned in the description apply only to the upstream xorg-x11-server-common package and not the xorg-x11-server-common package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

An infinite loop when reaching EOL unexpectedly in compose/parser.c (aka the keymap parser) in xkbcommon before 0.8.1 could be used by local attackers to cause a denial of service during parsing of crafted keymap files.