- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 202105-16
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Low
     Title: X.Org X11 library: Denial of service
      Date: May 26, 2021
      Bugs: #790824
        ID: 202105-16

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

A vulnerability in X.Org X11 library could lead to a Denial of Service
condition.

Background
==========

X.Org is an implementation of the X Window System. The X.Org X11
library provides the X11 protocol library files.

Affected packages
=================

     -------------------------------------------------------------------
      Package              /     Vulnerable     /            Unaffected
     -------------------------------------------------------------------
   1  x11-libs/libX11              < 1.7.1                    >= 1.7.1

Description
===========

It was discovered that XLookupColor() and other X.Org X11 library
functions lacked proper validation of the length of their string
parameters.

Impact
======

An attacker could emit arbitrary X protocol requests to the X server
through malicious crafted string parameters in applications linked
against X.Org X11 library.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All X.Org X11 library users should upgrade to the latest version:

   # emerge --sync
   # emerge --ask --oneshot --verbose ">=x11-libs/libX11-1.7.1"

References
==========

[ 1 ] CVE-2021-31535
       https://nvd.nist.gov/vuln/detail/CVE-2021-31535

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  https://security.gentoo.org/glsa/202105-16

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users' machines is of utmost
importance to us. Any security concerns should be addressed to
[email protected] or alternatively, you may file a bug at
https://bugs.gentoo.org.

License
=======

Copyright 2021 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

https://creativecommons.org/licenses/by-sa/2.5