portage-ng / portage / sys-devel / gettext / 0.25.1
portage-ng glsa
2 advisories reference sys-devel/gettext · none place version 0.25.1 in a vulnerable range
▸ GLSA 202208-33 Gnome Shell, gettext, libcroco: Multiple Vulnerabilities this version unaffected normal remote 2022-08-21

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

Announced
2022-08-21
Revised
2022-08-21
Access
remote
Bugs
#722752 #755848 #769998
Advisory
https://security.gentoo.org/glsa/202208-33

Affected packages

PackageArchVulnerableUnaffected
dev-libs/libcroco*< 0.6.13>= 0.6.13
gnome-base/gnome-shell*< 3.36.7>= 3.36.7
sys-devel/gettext*< 0.21>= 0.21

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.

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

▸ GLSA 200410-10 gettext: Insecure temporary file handling this version unaffected low local 2004-10-10

The gettext utility is vulnerable to symlink attacks, potentially allowing a local user to overwrite or change permissions on arbitrary files with the rights of the user running gettext, which could be the root user.

Announced
2004-10-10
Revised
2006-05-22 (revision 4)
Access
local
Bugs
#66355 #85766
Advisory
https://security.gentoo.org/glsa/200410-10

Affected packages

PackageArchVulnerableUnaffected
sys-devel/gettext*< 0.14.1-r1>= 0.14.1-r1, >= 0.12.1-r2 (revision)

Background

gettext is a set of utilities for the GNU Translation Project which provides a set of tools and documentation to help produce multi-lingual messages in programs.

Description

gettext insecurely creates temporary files in world-writeable directories with predictable names.

Impact

A local attacker could create symbolic links in the temporary files directory, pointing to a valid file somewhere on the filesystem. When gettext is called, this would result in file access with the rights of the user running the utility, which could be the root user.

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.14.1-r1"

References