What’s Vulnerable › Vulnerabilities

CVE-2021-21702: Null Dereference in SoapClient

Description

In PHP versions 7.3.x below 7.3.27, 7.4.x below 7.4.15 and 8.0.x below 8.0.2, when using SOAP extension to connect to a SOAP server, a malicious SOAP server could return malformed XML data as a response that would cause PHP to access a null pointer and thus cause a crash.

Affected products

How to fix

Upgrade to a fixed version: PHP 7.3.27, 7.4.15, 8.0.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-21702 or the next vulnerability affects your stack