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.
https://bugs.php.net/bug.php?id=78863
https://lists.debian.org/debian-lts-announce/2019/12/msg00034.html
https://security.netapp.com/advisory/ntap-20200103-0002/
https://usn.ubuntu.com/4239-1/
http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00036.html
https://seclists.org/bugtraq/2020/Feb/27
https://www.debian.org/security/2020/dsa-4626
https://seclists.org/bugtraq/2020/Feb/31
https://www.debian.org/security/2020/dsa-4628
Source: MITRE
Published: 2019-12-23
Updated: 2022-12-20
Type: CWE-74
Base Score: 4.3
Vector: AV:N/AC:M/Au:N/C:P/I:N/A:N
Impact Score: 2.9
Exploitability Score: 8.6
Severity: MEDIUM
Base Score: 5.9
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Impact Score: 3.6
Exploitability Score: 2.2
Severity: MEDIUM