php-src/ext/soap
Ahmed Lekssays 0298837252
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 19:46:51 +03:00
..
tests Fix GHSA-453j-q27h-5p8x 2025-07-01 19:46:51 +03:00
config.m4 Normalize comments in *nix build system m4 files 2019-05-12 18:43:03 +02:00
config.w32 Remove unused Git attributes ident 2018-07-25 00:53:25 +02:00
CREDITS
php_encoding.c Merge branch 'PHP-8.1' into PHP-8.2 2025-03-06 15:24:35 +01: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 Soap leaking http_msg on error 2024-10-06 17:58:28 +02:00
php_http.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_packet_soap.c Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_packet_soap.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_schema.c Fix bug #62900: Wrong namespace on xsd import error message 2024-09-11 09:12:51 +02:00
php_schema.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_sdl.c Backport 0a39890c: Fix libxml2 2.12 build due to API breaks 2024-10-12 15:12:40 +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 4fe82131: Backport libxml2 2.13.2 fixes (#14816) 2024-10-12 15:12:40 +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-07-01 19:46:51 +03:00
soap.stub.php Declare ext/soap constants in stubs (#9124) 2022-07-25 16:40:41 +02:00
soap_arginfo.h Revert "Fix GH-9967 Add support for generating custom function, class const, and property attributes in stubs" 2023-07-04 09:11:14 +02:00