Commit Graph

12 Commits

Author SHA1 Message Date
RHEL Packaging Agent
99e6f79ece Fix CVE-2026-58010: off-by-one error in gvs_tuple_is_normal()
Backport upstream fix for CVE-2026-58010 from GNOME/glib MR !5129
to mingw-glib2 2.70.1. The fix corrects an off-by-one error in
gvs_tuple_is_normal() in glib/gvariant-serialiser.c that allowed
a single byte out-of-bounds read when checking a GVariant for
normal form. A regression test is included.

CVE: CVE-2026-58010
Upstream patches:
 - https://gitlab.gnome.org/GNOME/glib/-/merge_requests/5129.patch
Resolves: RHEL-212164

This commit was backported by Ymir, a Red Hat Enterprise Linux software maintenance AI agent.

Assisted-by: Ymir
2026-07-22 16:24:15 +00:00
RHEL Packaging Agent
16e08b276e Fix CVE-2026-58011 in mingw-glib2: g_date_time_add_full() range validation
Backport upstream fix for CVE-2026-58011 to mingw-glib2 2.70.1.
Two upstream commits were cherry-picked and combined into a
single patch (Patch3):

- Factor out MIN_DAYS/MAX_DAYS magic constants in gdatetime.c
- Add missing range validation to g_date_time_add_full() to
  prevent creation of invalid GDateTime objects, along with
  corresponding test cases.

CVE: CVE-2026-58011
Upstream patches:
 - 7f0f7d0870.patch
 - ededb77ea0.patch
Resolves: RHEL-212184

This commit was backported by Ymir, a Red Hat Enterprise Linux software maintenance AI agent.

Assisted-by: Ymir
2026-07-22 16:23:02 +00:00
RHEL Packaging Agent
71f0ac4d01 Fix CVE-2026-58013: memcmp buffer over-read in giochannel
Backport upstream fix (commit 9f557746c52a) for CVE-2026-58013
to mingw-glib2 on c8s. The patch adds a bounds check before the
memcmp() call in glib/giochannel.c to prevent a buffer over-read
when using line terminators longer than 1 byte. A unit test for
the fix is also included.

CVE: CVE-2026-58013
Upstream patches:
 - 9f557746c5.patch
Resolves: RHEL-212234

This commit was backported by Ymir, a Red Hat Enterprise Linux software maintenance AI agent.

Assisted-by: Ymir
2026-07-22 16:21:43 +00:00
RHEL Packaging Agent
8fd7323521 Fix CVE-2026-58012: buffer overflow in gregex substitutions
Backport upstream fix for CVE-2026-58012, a buffer overflow in
GRegex case changing substitutions when using G_REGEX_RAW mode.
The upstream patch was adapted for glib 2.70.1 by adjusting
the struct member name from orig_compile_opts to compile_opts.

CVE: CVE-2026-58012
Upstream patches:
 - https://gitlab.gnome.org/GNOME/glib/-/merge_requests/5132.patch
Resolves: RHEL-212200

This commit was backported by Ymir, a Red Hat Enterprise Linux software maintenance AI agent.

Assisted-by: Ymir
2026-07-22 16:20:18 +00:00
RHEL Packaging Agent
d9b6761028 Fix CVE-2025-14087: integer overflow in GVariant parser
Backport upstream commit 31f82e22 to fix CVE-2025-14087 in
mingw-glib2. The patch changes loop counter types from `int` to
`size_t` in glib/gvariant-parser.c to prevent potential integer
overflow when parsing string and bytestring literals longer than
INT_MAX in GVariant text format input.

CVE: CVE-2025-14087
Upstream patches:
 - 31f82e22e2.patch
Resolves: RHEL-154707

This commit was backported by Ymir, a Red Hat Enterprise Linux software maintenance AI agent.

Assisted-by: Ymir
2026-07-22 16:17:37 +00:00
RHEL Packaging Agent
bb8e441cea Fix CVE-2026-58016: D-Bus introspection XML node nesting check
Backport upstream commit c9da977c178f to fix CVE-2026-58016.
The patch corrects a broken nesting check for `<node>` elements
in the D-Bus introspection XML parser (gio/gdbusintrospection.c)
and adds unit tests for invalid XML parsing
(gio/tests/gdbus-introspection.c).

CVE: CVE-2026-58016
Upstream patches:
 - https://github.com/GNOME/glib/commit/c9da977c178f.patch
Resolves: RHEL-190617

This commit was backported by Ymir, a Red Hat Enterprise Linux software maintenance AI agent.

Assisted-by: Ymir
2026-07-22 16:17:37 +00:00
RHEL Packaging Agent
32d8cd1f1f Fix CVE-2026-58014: one-byte heap under-read in mingw-glib2
Backport upstream fix for CVE-2026-58014 from GitLab MR !5171
(commit 5f6d86b5) to mingw-glib2 2.70.1. The patch fixes a
one-byte heap under-read in g_key_file_get_locale_string_list()
when called on a key with an empty value (len == 0). The fix
adds a `len > 0` guard in glib/gkeyfile.c. The patch also
includes a fuzzing test extension and a unit test.

CVE: CVE-2026-58014
Upstream patches:
 - https://gitlab.gnome.org/GNOME/glib/-/merge_requests/5171.patch
Resolves: RHEL-190609

This commit was backported by Ymir, a Red Hat Enterprise Linux software maintenance AI agent.

Assisted-by: Ymir
2026-07-22 16:17:37 +00:00
RHEL Packaging Agent
8e46bdc457 Fix CVE-2026-58015: D-Bus cookie context path traversal
Backport upstream fix for CVE-2026-58015 which validates
D-Bus SHA-1 authentication cookie contexts to prevent
path traversal attacks. The patch includes five upstream
commits that add cookie context validation, cookie ID range
checks, and hardening of the keyring file parser, with
C99 types adapted to GLib equivalents for compatibility
with the older GLib 2.70.1 codebase.

CVE: CVE-2026-58015
Upstream patches:
 - https://gitlab.gnome.org/GNOME/glib/-/merge_requests/5172.patch
Resolves: RHEL-212246

This commit was backported by Ymir, a Red Hat Enterprise Linux software maintenance AI agent.

Assisted-by: Ymir
2026-07-22 16:17:37 +00:00
Troy Dawson
52f49e5076 Bring gating.yaml over from Brew dist-git
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2023-03-10 11:04:29 -08:00
James Antill
ca285bfc75 Import rpm: c8s 2023-02-27 14:24:00 -05:00
James Antill
36df7f8246 Auto sync2gitlab import of mingw-glib2-2.70.1-1.el8_5.src.rpm 2022-05-26 11:33:06 -04:00
James Antill
e9111aa31e Initial c8s branch. 2022-05-26 11:33:03 -04:00