{"id":"CVE-2021-21702","state":"PUBLISHED","title":"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.","publishedAt":"2021-02-15T04:10:16.837Z","updatedAt":"2024-09-16T17:34:26.201Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","source":"php"},"assigner":"php","products":["PHP Group PHP"],"affected":[{"vendor":"PHP Group","product":"PHP","versions":[{"version":"7.3.x","status":"affected","lessThan":"7.3.27","versionType":"custom"},{"version":"7.4.x","status":"affected","lessThan":"7.4.15","versionType":"custom"},{"version":"8.0.X","status":"affected","lessThan":"8.0.2","versionType":"custom"}]}],"references":["https://bugs.php.net/bug.php?id=80672","https://www.debian.org/security/2021/dsa-4856","https://security.gentoo.org/glsa/202105-23","https://lists.debian.org/debian-lts-announce/2021/07/msg00008.html","https://www.oracle.com/security-alerts/cpuoct2021.html","https://www.tenable.com/security/tns-2021-14","https://security.netapp.com/advisory/ntap-20210312-0005/"],"weaknesses":["CWE-476"],"ingestedAt":"2026-10-29T19:47:59.168Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/21xxx/CVE-2021-21702.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-21702","state":"PUBLISHED","datePublished":"2021-02-15T04:10:16.837Z","dateUpdated":"2024-09-16T17:34:26.201Z","assignerShortName":"php","assignerOrgId":"dd77f84a-d19a-4638-8c3d-a322d820ed2b","dateReserved":"2021-01-04T00:00:00.000Z"},"containers":{"cna":{"title":"Null Dereference in SoapClient","descriptions":[{"lang":"en","value":"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":[{"vendor":"PHP Group","product":"PHP","versions":[{"version":"7.3.x","status":"affected","lessThan":"7.3.27","versionType":"custom"},{"version":"7.4.x","status":"affected","lessThan":"7.4.15","versionType":"custom"},{"version":"8.0.X","status":"affected","lessThan":"8.0.2","versionType":"custom"}]}],"references":[{"url":"https://bugs.php.net/bug.php?id=80672","tags":["x_refsource_MISC"]},{"url":"https://www.debian.org/security/2021/dsa-4856","name":"DSA-4856","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://security.gentoo.org/glsa/202105-23","name":"GLSA-202105-23","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/07/msg00008.html","name":"[debian-lts-announce] 20210715 [SECURITY] [DLA 2708-1] php7.0 security update","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://www.oracle.com/security-alerts/cpuoct2021.html","tags":["x_refsource_MISC"]},{"url":"https://www.tenable.com/security/tns-2021-14","tags":["x_refsource_CONFIRM"]},{"url":"https://security.netapp.com/advisory/ntap-20210312-0005/","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-476","description":"CWE-476 NULL Pointer Dereference","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"php","dateUpdated":"2021-10-20T10:40:53.000Z","orgId":"dd77f84a-d19a-4638-8c3d-a322d820ed2b"},"credits":[{"lang":"en","value":"Reported by jgalindo at datto dot com"}],"datePublic":"2021-02-01T00:00:00.000Z","source":{"defect":["https://bugs.php.net/bug.php?id=77423"],"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.0.9"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@php.net","DATE_PUBLIC":"2021-02-01T14:00:00.000Z","ID":"CVE-2021-21702","STATE":"PUBLIC","TITLE":"Null Dereference in SoapClient"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"PHP","version":{"version_data":[{"version_affected":"<","version_name":"7.3.x","version_value":"7.3.27"},{"version_affected":"<","version_name":"7.4.x","version_value":"7.4.15"},{"version_affected":"<","version_name":"8.0.X","version_value":"8.0.2"}]}}]},"vendor_name":"PHP Group"}]}},"credit":[{"lang":"eng","value":"Reported by jgalindo at datto dot com"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-476 NULL Pointer Dereference"}]}]},"references":{"reference_data":[{"name":"https://bugs.php.net/bug.php?id=80672","refsource":"MISC","url":"https://bugs.php.net/bug.php?id=80672"},{"name":"DSA-4856","refsource":"DEBIAN","url":"https://www.debian.org/security/2021/dsa-4856"},{"name":"GLSA-202105-23","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/202105-23"},{"name":"[debian-lts-announce] 20210715 [SECURITY] [DLA 2708-1] php7.0 security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2021/07/msg00008.html"},{"name":"https://www.oracle.com/security-alerts/cpuoct2021.html","refsource":"MISC","url":"https://www.oracle.com/security-alerts/cpuoct2021.html"},{"name":"https://www.tenable.com/security/tns-2021-14","refsource":"CONFIRM","url":"https://www.tenable.com/security/tns-2021-14"},{"name":"https://security.netapp.com/advisory/ntap-20210312-0005/","refsource":"CONFIRM","url":"https://security.netapp.com/advisory/ntap-20210312-0005/"}]},"source":{"defect":["https://bugs.php.net/bug.php?id=77423"],"discovery":"EXTERNAL"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://bugs.php.net/bug.php?id=80672","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.debian.org/security/2021/dsa-4856","name":"DSA-4856","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202105-23","name":"GLSA-202105-23","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/07/msg00008.html","name":"[debian-lts-announce] 20210715 [SECURITY] [DLA 2708-1] php7.0 security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://www.oracle.com/security-alerts/cpuoct2021.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.tenable.com/security/tns-2021-14","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20210312-0005/","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T18:23:29.386Z"}}]}}}