CVE Vulnerabilities

CVE-2021-21702

NULL Pointer Dereference

Published: Feb 15, 2021 | Modified: Nov 21, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
7.5 LOW
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
LOW
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product dereferences a pointer that it expects to be valid but is NULL.

Affected Software

NameVendorStart VersionEnd Version
PhpPhp7.3.0 (including)7.3.27 (excluding)
PhpPhp7.4.0 (including)7.4.15 (excluding)
PhpPhp8.0.0 (including)8.0.2 (excluding)
Red Hat Enterprise Linux 8RedHatphp:7.4-8050020210526053050.3e6e7e84*
Red Hat Software Collections for Red Hat Enterprise Linux 7RedHatrh-php73-php-0:7.3.29-1.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUSRedHatrh-php73-php-0:7.3.29-1.el7*
Php5Ubuntuesm-infra-legacy/trusty*
Php5Ubuntuprecise/esm*
Php5Ubuntutrusty*
Php5Ubuntutrusty/esm*
Php7.0Ubuntuesm-infra/xenial*
Php7.0Ubuntuxenial*
Php7.2Ubuntubionic*
Php7.2Ubuntuesm-infra/bionic*
Php7.4Ubuntuesm-infra/focal*
Php7.4Ubuntufocal*
Php7.4Ubuntugroovy*
Php7.4Ubuntuupstream*
Php8.0Ubuntuupstream*

Potential Mitigations

References