ALAS-2024-2487

Related Vulnerabilities: CVE-2021-28153  

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.) (CVE-2021-28153)

ALAS-2024-2487


Amazon Linux 2 Security Advisory: ALAS-2024-2487
Advisory Release Date: 2024-02-29 10:03 Pacific
Advisory Updated Date: 2024-03-04 12:00 Pacific
Severity: Low

Issue Overview:

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.) (CVE-2021-28153)


Affected Packages:

glib2


Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.


Issue Correction:
Run yum update glib2 to update your system.

New Packages:
aarch64:
    glib2-2.56.1-9.amzn2.0.7.aarch64
    glib2-devel-2.56.1-9.amzn2.0.7.aarch64
    glib2-fam-2.56.1-9.amzn2.0.7.aarch64
    glib2-static-2.56.1-9.amzn2.0.7.aarch64
    glib2-tests-2.56.1-9.amzn2.0.7.aarch64
    glib2-debuginfo-2.56.1-9.amzn2.0.7.aarch64

i686:
    glib2-2.56.1-9.amzn2.0.7.i686
    glib2-devel-2.56.1-9.amzn2.0.7.i686
    glib2-fam-2.56.1-9.amzn2.0.7.i686
    glib2-static-2.56.1-9.amzn2.0.7.i686
    glib2-tests-2.56.1-9.amzn2.0.7.i686
    glib2-debuginfo-2.56.1-9.amzn2.0.7.i686

noarch:
    glib2-doc-2.56.1-9.amzn2.0.7.noarch

src:
    glib2-2.56.1-9.amzn2.0.7.src

x86_64:
    glib2-2.56.1-9.amzn2.0.7.x86_64
    glib2-devel-2.56.1-9.amzn2.0.7.x86_64
    glib2-fam-2.56.1-9.amzn2.0.7.x86_64
    glib2-static-2.56.1-9.amzn2.0.7.x86_64
    glib2-tests-2.56.1-9.amzn2.0.7.x86_64
    glib2-debuginfo-2.56.1-9.amzn2.0.7.x86_64