GLSA 202208-33: Gnome Shell, gettext, libcroco: Multiple Vulnerabilities

Severity:normal
Title:Gnome Shell, gettext, libcroco: Multiple Vulnerabilities
Date:08/21/2022
Bugs: #722752, #755848, #769998
ID:202208-33

Synopsis

A vulnerability has been found in libcroco which could result in denial of service.

Background

GNOME Shell provides core user interface functions for the GNOME desktop, like switching to windows and launching applications. gettext contains the GNU locale utilities. libcroco is a standalone CSS2 parsing and manipulation library.

Affected packages

Package Vulnerable Unaffected Architecture(s)
sys-devel/gettext < 0.21 >= 0.21 All supported architectures
gnome-base/gnome-shell < 3.36.7 >= 3.36.7 All supported architectures
dev-libs/libcroco < 0.6.13 >= 0.6.13 All supported architectures

Description

The cr_parser_parse_any_core function in libcroco's cr-parser.c does not limit recursion, leading to a denial of service via a stack overflow when trying to parse crafted CSS. Gnome Shell and gettext bundle libcroco in their own sources and thus are potentially vulnerable as well.

Impact

An attacker with control over the input to the library can cause a denial of service.

Workaround

There is no known workaround at this time.

Resolution

All gettext users should upgrade to the latest version:

          # emerge --sync
          # emerge --ask --oneshot --verbose ">=sys-devel/gettext-0.21"
        

All Gnome Shell users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose ">=gnome-base/gnome-shell-3.36.7"

All libcroco users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose ">=dev-libs/libcroco-0.6.13"

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-202208-33.xml

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.

License

Copyright 2010 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.

Thank you!