DirectoryIterator class silently truncates after a null byte
8Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 3.7epss 8.8%
exploitation probability
8.8%top 5% of all CVEs
observed exploitation
nono source reports it
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.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Affected products
PHP Group · PHPReferences
http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00036.htmlhttps://bugs.php.net/bug.php?id=78863https://lists.debian.org/debian-lts-announce/2019/12/msg00034.htmlhttps://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/27https://seclists.org/bugtraq/2020/Feb/31https://seclists.org/bugtraq/2021/Jan/3https://security.netapp.com/advisory/ntap-20200103-0002/https://usn.ubuntu.com/4239-1/https://www.debian.org/security/2020/dsa-4626https://www.debian.org/security/2020/dsa-4628