Bug 1925272 (CVE-2021-21702)
Summary: | CVE-2021-21702 php: NULL pointer dereference in SoapClient | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | Guilherme de Almeida Suckevicz <gsuckevi> |
Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | unspecified | CC: | fedora, hhorak, jorton, rcollet |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | php 7.3.27, php 8.0.2 | Doc Type: | If docs needed, set a value |
Doc Text: |
A NULL pointer dereference issue is in the SOAP extension of PHP. More specifically, the flaw occurs in the SoapClient when parsing a WSDL document due to improper checking of a child node name. A malicious or compromised server replies with a crafted WSDL document, leading to a denial of service of the SoapClient accessing said document. The highest threat from this vulnerability is to system availability.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2021-08-03 13:07:10 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1925273, 1930624, 1930625, 1930626, 1930627, 1977769 | ||
Bug Blocks: | 1925275 |
Description
Guilherme de Almeida Suckevicz
2021-02-04 18:10:49 UTC
Created php tracking bugs for this issue: Affects: fedora-all [bug 1925273] Statement: This flaw has been rated as having a security impact of Low, because it requires a malicious or compromised server in order to be exploited, and it only affects the SOAP client. While parsing a WSDL document via load_wsdl(), SoapClient ended up calling node_is_equal_ex() with a NULL node name. The node_is_equal_ex() function compares the name of an xmlNode with an argument string: `strcmp((char*)node->name, name)`. This could result in a NULL pointer dereference in strcmp() when node->name is NULL: ==28500== Process terminating with default action of signal 11 (SIGSEGV): dumping core ==28500== Access not within mapped region at address 0x0 ==28500== at 0x4C353B4: strcmp (vg_replace_strmem.c:849) ==28500== by 0x19AFC66D: node_is_equal_ex (php_xml.c:223) ==28500== by 0x19AF8625: load_wsdl_ex (php_sdl.c:370) ==28500== by 0x19AF8B6D: load_wsdl (php_sdl.c:741) ==28500== by 0x19AF9E88: get_sdl (php_sdl.c:3313) This issue has been addressed in the following products: Red Hat Software Collections for Red Hat Enterprise Linux 7 Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS Via RHSA-2021:2992 https://access.redhat.com/errata/RHSA-2021:2992 This bug is now closed. Further updates for individual products will be reflected on the CVE page(s): https://access.redhat.com/security/cve/cve-2021-21702 This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2021:4213 https://access.redhat.com/errata/RHSA-2021:4213 |