Link Following Affecting glib2-lang package, versions <2.62.6-150200.3.10.1


Severity

Recommended
0.0
low
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.29% (69th 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-SLES152-GLIB2LANG-6369713
  • published3 Mar 2024
  • disclosed26 Jan 2023

Introduced: 26 Jan 2023

CVE-2021-28153  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade SLES:15.2 glib2-lang to version 2.62.6-150200.3.10.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream glib2-lang package and not the glib2-lang package as distributed by SLES. See How to fix? for SLES:15.2 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