Gentoo: GLSA-202105-16: X.Org X11 library: Denial of service
Summary
It was discovered that XLookupColor() and other X.Org X11 library functions lacked proper validation of the length of their string parameters.
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 security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.
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
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.