Link Following Affecting glib2-static package, versions <0:2.56.4-156.el8


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
1.32% (87th 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-RHEL8-GLIB2STATIC-4134336
  • published26 Jul 2021
  • disclosed10 Mar 2021

Introduced: 10 Mar 2021

CVE-2021-28153  (opens in a new tab)
CWE-59  (opens in a new tab)
First added by Snyk

How to fix?

Upgrade RHEL:8 glib2-static to version 0:2.56.4-156.el8 or higher.
This issue was patched in RHSA-2021:4385.

NVD Description

Note: Versions mentioned in the description apply only to the upstream glib2-static package and not the glib2-static package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

An issue was discovered in GNOME GLib before 2.66.8. When g_file_replace() is used with G_FILE_CREATE_REPLACE_DESTINATION to replace a path that is a dangling symlink, it incorrectly also creates the target of the symlink as an empty file, which could conceivably have security relevance if the symlink is attacker-controlled. (If the path is a symlink to a file that already exists, then the contents of that file correctly remain unchanged.)

CVSS Scores

version 3.1