CVE-2021-21707 Affecting php81 package, versions <8.1.0-r0
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-ALPINE319-PHP81-6110836
- published 8 Dec 2023
- disclosed 29 Nov 2021
Introduced: 29 Nov 2021
CVE-2021-21707 Open this link in a new tabHow to fix?
Upgrade Alpine:3.19
php81
to version 8.1.0-r0 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream php81
package and not the php81
package as distributed by Alpine
.
See How to fix?
for Alpine:3.19
relevant fixed versions and status.
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.