Bug 2026045 (CVE-2021-21707) - CVE-2021-21707 php: special character breaks path in xml parsing
Summary: CVE-2021-21707 php: special character breaks path in xml parsing
Keywords:
Status: NEW
Alias: CVE-2021-21707
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2026649 2026650 2026046 2026647 2026648
Blocks: 2026047
TreeView+ depends on / blocked
 
Reported: 2021-11-23 17:09 UTC by Guilherme de Almeida Suckevicz
Modified: 2022-04-19 09:30 UTC (History)
4 users (show)

Fixed In Version: php-8.1.0 php-7.3.33
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in php. The main cause of this vulnerability is improper input validation while parsing an Extensible Markup Language(XML) entity. A special character could allow an attacker to traverse directories. The highest threat from this vulnerability is confidentiality.
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2021-11-23 17:09:46 UTC
A flaw was found in PHP. A special character is breaking the path in XML function.

Reference:
https://bugs.php.net/bug.php?id=79971

Upstream patch:
https://github.com/php/php-src/commit/f15f8fc573eb38c3c73e23e0930063a6f6409ed4

Comment 1 Guilherme de Almeida Suckevicz 2021-11-23 17:11:08 UTC
Created php tracking bugs for this issue:

Affects: fedora-all [bug 2026046]


Note You need to log in before you can comment on or make changes to this bug.