1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00
Files
archived-php-src/ext
Ahmed Lekssays 9cb3d8d200 Fix GHSA-453j-q27h-5p8x
Libxml versions prior to 2.13 cannot correctly handle a call to
xmlNodeSetName() with a name longer than 2G. It will leave the node
object in an invalid state with a NULL name. This later causes a NULL
pointer dereference when using the name during message serialization.

To solve this, implement a workaround that resets the name to the
sentinel name if this situation arises.

Versions of libxml of 2.13 and higher are not affected.

This can be exploited if a SoapVar is created with a fully qualified
name that is longer than 2G. This would be possible if some application
code uses a namespace prefix from an untrusted source like from a remote
SOAP service.

Co-authored-by: Niels Dossche <7771979+nielsdos@users.noreply.github.com>
2025-06-24 23:32:34 +02:00
..
2022-06-25 07:39:55 +01:00
2025-03-06 15:01:30 +01:00
2022-07-27 12:13:32 +02:00
2023-11-22 20:39:29 -06:00
2024-06-05 00:31:17 -05:00
2022-09-13 11:33:09 +01:00
2023-08-19 23:09:22 +01:00
2023-10-12 13:11:38 +02:00
2024-12-10 10:35:00 +01:00
2025-03-10 20:22:11 +01:00
2025-06-24 23:32:34 +02:00
2023-03-01 23:02:03 +01:00
2023-03-27 16:33:36 +02:00
2025-03-11 21:50:17 +01:00
2024-10-30 14:20:47 +01:00