Description
In PHP versions 7.2.x below 7.2.26, 7.3.x below 7.3.13 and 7.4.0 on Windows, PHP link() function accepts filenames with embedded \0 byte and treats them as terminating at that byte. This could lead to security vulnerabilities, e.g. in applications checking paths that the code is allowed to access.
CVSS breakdown
CVSS 3.1
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None
Affected products
- fedoraproject / fedora30 – 30
- fedoraproject / fedora31 – 31
- php / php7.4.0 – 7.4.0
- php / php7.2.0 – 7.2.26
- PHP Group / PHP7.2.x – 7.2.26
- PHP Group / PHP7.4.x – 7.4.1
- PHP Group / PHP7.3.x – 7.3.13
- tenable / Security Center5.19.0
References
- MISChttps://bugs.php.net/bug.php?id=78862
- MISChttps://security.netapp.com/advisory/ntap-20200103-0002/
- MAILING_LISThttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N7GCOAE6KVHYJ3UQ4KLPLTGSLX6IRVRN/
- MAILING_LISThttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWRQPYXVG43Q7DXMXH6UVWMKWGUW552F/
- MISChttps://www.tenable.com/security/tns-2021-14
Updated 16m ago · 8 sources