What’s Vulnerable › Vulnerabilities

CVE-2019-11045: DirectoryIterator class silently truncates after a null byte

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.

Affected products

How to fix

Upgrade to a fixed version: Tenable, Inc. Security Center 5.19.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2019-11045 or the next vulnerability affects your stack