CVE-2021-21707
Description
In PHP versions 7.3.x below 7.3.33, 7.4.x below 7.4.26 and 8.0.x below 8.0.13, certain XML parsing functions, like simplexml_load_file(), URL-decode the filename passed to them. If that filename contains URL-encoded NUL character, this may cause the function to interpret this as the end of the filename, thus interpreting the filename differently from what the user intended, which may lead it to reading a different file than intended.
Risk Information
Base Score
5.3
MODERATE
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS Score
Exploitation Probability
0.563
Associated Vulnerability
| Vulnerability | OS Platform |
|---|---|
| php7.4 security update(DSA-5082-1) php7.4_7.4.28-1+deb11u1_all.deb | Linux |
| HTML-embedded scripting language interpreter (USN-5300-2) php7.2-cgi_7.2.24-0ubuntu0.18.04.11_i386.deb | Linux |
| HTML-embedded scripting language interpreter (USN-5300-2) php7.2-cgi_7.2.24-0ubuntu0.18.04.11_amd64.deb | Linux |
| HTML-embedded scripting language interpreter (USN-5300-2) php7.2-cli_7.2.24-0ubuntu0.18.04.11_i386.deb | Linux |
| HTML-embedded scripting language interpreter (USN-5300-2) php7.2-cli_7.2.24-0ubuntu0.18.04.11_amd64.deb | Linux |
| HTML-embedded scripting language interpreter (USN-5300-2) php7.2-fpm_7.2.24-0ubuntu0.18.04.11_i386.deb | Linux |
| HTML-embedded scripting language interpreter (USN-5300-2) php7.2-fpm_7.2.24-0ubuntu0.18.04.11_amd64.deb | Linux |
| HTML-embedded scripting language interpreter (USN-5300-2) php7.4-cgi_7.4.3-4ubuntu2.15_i386.deb | Linux |
| HTML-embedded scripting language interpreter (USN-5300-2) php7.4-cgi_7.4.3-4ubuntu2.15_amd64.deb | Linux |
| HTML-embedded scripting language interpreter (USN-5300-2) php7.4-cli_7.4.3-4ubuntu2.10_i386.deb | Linux |
| HTML-embedded scripting language interpreter (USN-5300-2) php7.4-cli_7.4.3-4ubuntu2.10_amd64.deb | Linux |
| HTML-embedded scripting language interpreter (USN-5300-2) php7.4-fpm_7.4.3-4ubuntu2.15_i386.deb | Linux |
| HTML-embedded scripting language interpreter (USN-5300-2) php7.4-fpm_7.4.3-4ubuntu2.15_amd64.deb | Linux |
| HTML-embedded scripting language interpreter (USN-5300-3) php8.0-cgi_8.0.8-1ubuntu0.3_i386.deb | Linux |
| HTML-embedded scripting language interpreter (USN-5300-3) php8.0-cgi_8.0.8-1ubuntu0.3_amd64.deb | Linux |
| HTML-embedded scripting language interpreter (USN-5300-3) php8.0-cli_8.0.8-1ubuntu0.3_i386.deb | Linux |
| HTML-embedded scripting language interpreter (USN-5300-3) php8.0-cli_8.0.8-1ubuntu0.3_amd64.deb | Linux |
| HTML-embedded scripting language interpreter (USN-5300-3) php8.0-fpm_8.0.8-1ubuntu0.3_i386.deb | Linux |
| HTML-embedded scripting language interpreter (USN-5300-3) php8.0-fpm_8.0.8-1ubuntu0.3_amd64.deb | Linux |
| php:7.4 security, bug fix, and enhancement update (RLSA-2022:7628) php-json-7.4.30-1.module+el8.7.0+1067+0a7071cc.x86_64.rpm | Linux |
| php:7.4 security, bug fix, and enhancement update (RLSA-2022:7628) php-pear-1.10.13-1.module+el8.7.0+1067+0a7071cc.noarch.rpm | Linux |
| php:7.4 security, bug fix, and enhancement update (RLSA-2022:7628) php-xmlrpc-7.4.30-1.module+el8.7.0+1067+0a7071cc.x86_64.rpm | Linux |
| php:7.4 security, bug fix, and enhancement update (RLSA-2022:7628) php-pecl-xdebug-2.9.5-1.module+el8.4.0+415+e936cba3.x86_64.rpm | Linux |
| CVE-2021-21707 | NCM |
Patch Details
No records foundReferences
https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234