Advisory

DEBIAN-CVE-2021-21707

Also known as: CVE-2021-21707

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 5.3, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Dates

Published
2021-11-29 07:15 UTC
Modified
2026-08-27 23:03 UTC

Affected packages and fixes

php7.4

Debian packages (deb) · Debian 11

Affected

  • introduced 0, fixed 7.4.28-1+deb11u1 (ecosystem)

Fixed versions

7.4.28-1+deb11u1

Fix

  • Fixed version 7.4.28-1+deb11u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences