CVEvulnerability

CVE-2019-11045

5.9 MEDIUM Published 2019-12-23 Modified 2026-08-17 Official page ↗
Status
Modified
Published
2019-12-23
Last modified
2026-08-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
3.7 LOW — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS 3.1 ([email protected])
5.9 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.0 ([email protected])
4.3 MEDIUM — AV:N/AC:M/Au:N/C:P/I:N/A:N
Weaknesses
CWE-170, CWE-74

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 configurations

• php php (>= 7.2.0 <= 7.2.26) • php php (>= 7.3.0 <= 7.3.13) • php php 7.4.0 • fedoraproject fedora 30 • fedoraproject fedora 31 • debian debian linux 8.0 • debian debian linux 9.0 • debian debian linux 10.0 • opensuse leap 15.1 • canonical ubuntu linux 12.04 • canonical ubuntu linux 14.04 • canonical ubuntu linux 16.04 • canonical ubuntu linux 18.04 • canonical ubuntu linux 19.04 • canonical ubuntu linux 19.10 • tenable security center (< 5.19.0)

Related

Weakness · CWE (2)

  • CWE-170 Improper Null Termination weakness
  • CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component weakness

References