Description
In PHP versions 7.2.x below 7.2.26, 7.3.x below 7.3.13 and 7.4.0, PHP DirectoryIterator class 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.
Metrics
CVSS 3.1 5.9/10
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| PHP Group | PHP | >= 7.2.x, < 7.2.26; >= 7.3.x, < 7.3.13; >= 7.4.x, < 7.4.1 |
References
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00036.htmlMailing List, Third Party Advisory
- https://bugs.php.net/bug.php?id=78863Exploit, Mailing List, Patch, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2019/12/msg00034.htmlMailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N7GCOAE6KVHYJ3UQ4KLPLTGSLX6IRVRN/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWRQPYXVG43Q7DXMXH6UVWMKWGUW552F/
- https://seclists.org/bugtraq/2020/Feb/27Mailing List, Third Party Advisory
- https://seclists.org/bugtraq/2020/Feb/31Mailing List, Third Party Advisory
- https://seclists.org/bugtraq/2021/Jan/3Mailing List, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20200103-0002/Third Party Advisory
- https://usn.ubuntu.com/4239-1/Third Party Advisory
- https://www.debian.org/security/2020/dsa-4626Third Party Advisory
- https://www.debian.org/security/2020/dsa-4628Third Party Advisory
- https://www.tenable.com/security/tns-2021-14Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00036.htmlMailing List, Third Party Advisory
- https://bugs.php.net/bug.php?id=78863Exploit, Mailing List, Patch, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2019/12/msg00034.htmlMailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N7GCOAE6KVHYJ3UQ4KLPLTGSLX6IRVRN/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWRQPYXVG43Q7DXMXH6UVWMKWGUW552F/
- https://seclists.org/bugtraq/2020/Feb/27Mailing List, Third Party Advisory
- https://seclists.org/bugtraq/2020/Feb/31Mailing List, Third Party Advisory
- https://seclists.org/bugtraq/2021/Jan/3Mailing List, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20200103-0002/Third Party Advisory
- https://usn.ubuntu.com/4239-1/Third Party Advisory
- https://www.debian.org/security/2020/dsa-4626Third Party Advisory
- https://www.debian.org/security/2020/dsa-4628Third Party Advisory
- https://www.tenable.com/security/tns-2021-14Third Party Advisory
Timeline
- Published
- Dec 23, 2019
- Last modified
- Aug 17, 2026
- NVD status
- Modified