php-src/ext/soap
Ahmed Lekssays 026ab919d0
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:34:55 +02:00
..
tests Fix GHSA-453j-q27h-5p8x 2025-06-24 23:34:55 +02:00
config.m4
config.w32
CREDITS
php_encoding.c Merge branch 'PHP-8.2' into PHP-8.3 2024-10-14 22:00:29 +02:00
php_encoding.h Revert "Fix bug #69280: SoapClient classmap doesn't support fully qualified class name (#14398)" 2024-08-07 10:03:12 +02:00
php_http.c Fix memory leaks in php_http.c when call_user_function() fails 2025-05-24 21:54:19 +02:00
php_http.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_packet_soap.c Fix #66049 Typemap can break parsing in parse_packet_soap leading to a segfault 2025-03-21 08:23:12 +01:00
php_packet_soap.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_schema.c Fix potential NULL deref 2025-05-29 16:57:32 +02:00
php_schema.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_sdl.c Fix bug #73182: PHP SOAPClient does not support stream context HTTP headers in array form 2024-09-10 20:24:14 +02:00
php_sdl.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_soap.h Revert "Fix bug #69280: SoapClient classmap doesn't support fully qualified class name (#14398)" 2024-08-07 10:03:12 +02:00
php_xml.c Backport libxml2 2.13.2 fixes (#14816) 2024-07-04 15:29:50 +02:00
php_xml.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
soap.c Fix GHSA-453j-q27h-5p8x 2025-06-24 23:34:55 +02:00
soap.stub.php Declare ext/soap constants in stubs (#9124) 2022-07-25 16:40:41 +02:00
soap_arginfo.h Fix GH-9967 Add support for generating custom function, class const, and property attributes in stubs 2023-08-26 21:35:31 +02:00