1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00
Files
Ahmed Lekssays 97c51c0e3d 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-07-01 18:24:47 +03:00
..
2023-09-26 21:44:00 +02:00
2025-02-05 19:22:20 +01:00
2025-03-06 15:04:08 +01:00
2024-11-26 21:24:48 +01:00
2025-03-11 21:57:33 +01:00
2024-11-26 15:40:46 +00:00
2024-08-28 14:29:49 +02:00
2025-03-06 15:24:35 +01:00
2025-03-06 15:24:35 +01:00
2024-08-06 16:54:19 +02:00
2023-09-22 10:26:01 +02:00
2025-02-04 14:52:15 +01:00
2024-12-10 10:35:00 +01:00
2025-07-01 18:24:47 +03:00
2025-03-11 21:57:33 +01:00