Commit Graph

6 Commits

Author SHA1 Message Date
Rob Crittenden
a8bddf83d5 Restrict XML Entity Expansion Depth in libexpat CVE-2024-8176
The embedded libexpat library is vulnerable to a stack overflow
due to uncontrolled recursion when processing deeply nested XML
entities. This can cause the application to crash, resulting in
a denial of service (DoS) or potentially leading to memory
corruption, depending on the user's environment and how the
library is used. The issue is triggered by supplying a specially
crafted XML document designed to create a long chain of recursive
entities.

libexpat addressed this upstream in
https://github.com/libexpat/libexpat/pull/973
but the embedded copy within xmlrpc-c is so old there is no chance
of applying this without rebasing it. Instead a recursion counter
is added to the parser to limit the depth.

Resolves: RHEL-57536
2025-03-19 15:33:54 -04:00
Rob Crittenden
288e29745d Prevent integer overflow or wraparound CVE-2024-45491
An issue was discovered in libexpat before 2.6.3. dtdCopy in
xmlparse.c can have an integer overflow for nDefaultAtts on
32-bit platforms (where UINT_MAX equals SIZE_MAX).

Backported from upstream https://github.com/libexpat/libexpat/pull/891

Resolves: RHEL-57519
2024-09-20 10:04:54 -04:00
Rob Crittenden
0e89150eee expat: Address segementation fault in CVE-2023-52425
CVE-2023-52425 is a DoS where extremely large tags can cause
significant processing delays. It isn't reasonably possible to
backport the fix but while testing the impact it was determined
that a large ctags could cause a segmentation fault. That is what
is addressed.

Resolves: RHEL-24226
2024-04-25 10:47:50 -04:00
James Antill
32dbac7946 Auto sync2gitlab import of xmlrpc-c-1.51.0-8.el8.src.rpm 2022-05-31 15:02:30 -04:00
James Antill
bed8a35791 Auto sync2gitlab import of xmlrpc-c-1.51.0-5.el8.src.rpm 2022-05-26 16:18:32 -04:00
James Antill
7636f72f2e Initial c8s branch. 2022-05-26 16:18:29 -04:00