Commit Graph

7 Commits

Author SHA1 Message Date
RHEL Packaging Agent
19edc769bb Fix CVE-2026-58471: buffer overflow in convert_fname()
Backport upstream fix for CVE-2026-58471, a buffer overflow in
convert_fname() in src/url.c. The patch (from upstream commit
c2640fe5171c59f87c58dc9fcb195b2d18b010ee) fixes incorrect buffer
size tracking during iconv filename conversion by removing the
flawed `done` variable and replacing the E2BIG reallocation logic
with a correct implementation that properly tracks used bytes,
ensures buffer growth, and updates all size/pointer variables
after reallocation.

CVE: CVE-2026-58471
Upstream patches:
 - c2640fe517.patch
Resolves: RHEL-194519

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

Assisted-by: Ymir
2026-07-21 09:17:02 +00:00
RHEL Packaging Agent
055c68cdfe Fix CVE-2026-58472: integer+buffer overflow in html_quote_string()
Backport upstream fix for CVE-2026-58472 which addresses an integer
and buffer overflow vulnerability in the html_quote_string() function
in src/convert.c. The patch is based on upstream commits dd692d9 and
f76978a, adapted to use INT_ADD_WRAPV instead of INT_ADD_OK since
the gnulib version bundled with wget 1.19.5 does not provide the
latter. The fix adds overflow-safe integer arithmetic to the string
size calculation and aborts on overflow. Unit tests for
construct_relative, match_except_index, find_fragment, and
html_quote_string are included.

CVE: CVE-2026-58472
Upstream patches:
 - dd692d9cea.patch
 - f76978a51b.patch
Resolves: RHEL-210627

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

Assisted-by: Ymir
2026-07-21 09:17:02 +00:00
Michal Ruprich
25ab8bae45 Resolves: RHEL-43559 - Misinterpretation of input may lead to improper behavior 2024-07-11 07:12:22 +02:00
Troy Dawson
f63cdfc63e Bring gating.yaml over from Brew dist-git
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2023-03-10 12:03:46 -08:00
CentOS Sources
465ab2e54b Auto sync2gitlab import of wget-1.19.5-11.el8.src.rpm 2022-12-15 06:10:47 +00:00
James Antill
5ce400e787 Auto sync2gitlab import of wget-1.19.5-10.el8.src.rpm 2022-05-26 16:14:59 -04:00
James Antill
69ca6f307b Initial c8s branch. 2022-05-26 16:14:54 -04:00