CVE-2021-21702
Null Dereference in SoapClient
7.5
HIGH
CVSS 3.1
EPSS 0.27%
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.
How to fix CVE-2021-21702
To remediate CVE-2021-21702, upgrade the affected package to a fixed version below.
- —upgrade to 7.3.27 or later
- —upgrade to 7.3.27 or later
- —upgrade to 7.3.27 or later
- —upgrade to 7.4.15-1 or later
Is CVE-2021-21702 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- >= 7.3.0, < 7.3.27, >= 7.4.0, < 7.4.15, >= 8.0.0, < 8.0.2
- >= 7.3.0, < 7.3.27, >= 7.4.0, < 7.4.15, >= 8.0.0, < 8.0.2
- >= 7.3.0, < 7.3.27, >= 7.4.0, < 7.4.15, >= 8.0.0, < 8.0.2
- from 0, < 7.4.15-1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |