php-src/ext/soap
Ahmed Lekssays 158aa14167
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-02 09:00:09 +09:00
..
tests Fix GHSA-453j-q27h-5p8x 2025-07-02 09:00:09 +09:00
config.m4 Add date extension to dependencies (#15475) 2024-08-18 16:47:57 +02:00
config.w32 Add date extension to dependencies (#15475) 2024-08-18 16:47:57 +02:00
CREDITS
php_encoding.c Merge branch 'PHP-8.3' into PHP-8.4 2024-10-14 22:00:45 +02:00
php_encoding.h Merge branch 'PHP-8.3' 2024-08-07 10:04:58 +02:00
php_http.c Merge branch 'PHP-8.3' into PHP-8.4 2025-05-24 21:54:45 +02:00
php_http.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_packet_soap.c Merge branch 'PHP-8.3' into PHP-8.4 2025-03-21 08:25:23 +01:00
php_packet_soap.h ext/soap: Use bool as return type instead of int for parse_packet_soap() 2024-06-19 02:20:34 +01:00
php_schema.c Merge branch 'PHP-8.3' into PHP-8.4 2025-05-29 16:57:47 +02:00
php_schema.h Deduplicate URI building code in soap schema code (#15799) 2024-09-09 19:44:09 +02:00
php_sdl.c Avoid copying the local name in SOAP's parse_namespace() (#15862) 2024-09-12 22:41:45 +02:00
php_sdl.h Struct-pack some soap datatypes (#14403) 2024-06-01 14:11:45 +02:00
php_soap.h Implement request #47317: SoapServer::__getLastResponse() 2024-09-09 20:07:29 +02:00
php_xml.c Avoid copying the local name in SOAP's parse_namespace() (#15862) 2024-09-12 22:41:45 +02:00
php_xml.h Avoid copying the local name in SOAP's parse_namespace() (#15862) 2024-09-12 22:41:45 +02:00
soap.c Fix GHSA-453j-q27h-5p8x 2025-07-02 09:00:09 +09:00
soap.stub.php Implement request #47317: SoapServer::__getLastResponse() 2024-09-09 20:07:29 +02:00
soap_arginfo.h Implement request #47317: SoapServer::__getLastResponse() 2024-09-09 20:07:29 +02:00