UBUNTU-CVE-2021-21707

    Dashboard / Vulnerabilities / UBUNTU-CVE-2021-21707

    UBUNTU-CVE-2021-21707

    Published: 29 Nov 2021Last Modified: 22 Apr 2026

    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.

    Affected packages

    Package

    Name: php5

    Purl: pkg:deb/ubuntu/[email protected]+dfsg-1ubuntu4.29+esm16?arch=source&distro=esm-infra-legacy/trusty

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    5.5.3+dfsg-1ubuntu2
    5.5.3+dfsg-1ubuntu3
    5.5.6+dfsg-1ubuntu1
    5.5.6+dfsg-1ubuntu2
    5.5.8+dfsg-2ubuntu1
    5.5.9+dfsg-1ubuntu1
    5.5.9+dfsg-1ubuntu2
    5.5.9+dfsg-1ubuntu3
    5.5.9+dfsg-1ubuntu4
    5.5.9+dfsg-1ubuntu4.1
    5.5.9+dfsg-1ubuntu4.2
    5.5.9+dfsg-1ubuntu4.3
    5.5.9+dfsg-1ubuntu4.4
    5.5.9+dfsg-1ubuntu4.5
    5.5.9+dfsg-1ubuntu4.6
    5.5.9+dfsg-1ubuntu4.7
    5.5.9+dfsg-1ubuntu4.9
    5.5.9+dfsg-1ubuntu4.11
    5.5.9+dfsg-1ubuntu4.12
    5.5.9+dfsg-1ubuntu4.13
    5.5.9+dfsg-1ubuntu4.14
    5.5.9+dfsg-1ubuntu4.16
    5.5.9+dfsg-1ubuntu4.17
    5.5.9+dfsg-1ubuntu4.19
    5.5.9+dfsg-1ubuntu4.20
    5.5.9+dfsg-1ubuntu4.21
    5.5.9+dfsg-1ubuntu4.22
    5.5.9+dfsg-1ubuntu4.23
    5.5.9+dfsg-1ubuntu4.24
    5.5.9+dfsg-1ubuntu4.25
    5.5.9+dfsg-1ubuntu4.26
    5.5.9+dfsg-1ubuntu4.27
    5.5.9+dfsg-1ubuntu4.29
    5.5.9+dfsg-1ubuntu4.29+esm1
    5.5.9+dfsg-1ubuntu4.29+esm2
    5.5.9+dfsg-1ubuntu4.29+esm3
    5.5.9+dfsg-1ubuntu4.29+esm4
    5.5.9+dfsg-1ubuntu4.29+esm5
    5.5.9+dfsg-1ubuntu4.29+esm6
    5.5.9+dfsg-1ubuntu4.29+esm8
    5.5.9+dfsg-1ubuntu4.29+esm10
    5.5.9+dfsg-1ubuntu4.29+esm11
    5.5.9+dfsg-1ubuntu4.29+esm12
    5.5.9+dfsg-1ubuntu4.29+esm13
    5.5.9+dfsg-1ubuntu4.29+esm14
    5.5.9+dfsg-1ubuntu4.29+esm15
    5.5.9+dfsg-1ubuntu4.29+esm16

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    UBUNTU-CVE-2021-21707 | CVE-DB