CVE-2021-21702

Source
https://cve.org/CVERecord?id=CVE-2021-21702
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-21702.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-21702
Aliases
Downstream
Related
Published
2021-02-15T04:15:12.673Z
Modified
2026-03-15T22:39:27.409113Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/php/php-src

Affected ranges

Type
GIT
Repo
https://github.com/php/php-src
Events
Database specific
{
    "versions": [
        {
            "introduced": "7.3.0"
        },
        {
            "fixed": "7.3.27"
        },
        {
            "introduced": "7.4.0"
        },
        {
            "fixed": "7.4.15"
        },
        {
            "introduced": "8.0.0"
        },
        {
            "fixed": "8.0.2"
        },
        {
            "introduced": "8.0.0"
        },
        {
            "last_affected": "8.5.0"
        }
    ]
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-21702.json"
unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "9.0"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "10.0"
            }
        ]
    }
]