CVE-2019-11045: Software Security Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-jv88-p4rw-4m4h
CVSS 5.9
CWE-170 CWE-74
Published
Advisory Summary

CVE-2019-11045 is a MODERATE (CVSS 5.9) security vulnerability vulnerability (CWE-170: Improper Null Termination) affecting Software libraries in the Maven ecosystem. The weakness occurs when the product does not terminate or incorrectly terminates a string or array with a null character or equivalent terminator.. Remediation is available in the latest vendor maintenance releases.

CVE-2019-11045 at a Glance

CVE Identifier CVE-2019-11045
GHSA Identifier GHSA-jv88-p4rw-4m4h
Severity MODERATE
CVSS v3.1 Base Score 5.9
CWE Classification CWE-170: Improper Null Termination
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 5.9

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2019-11045

To remediate this vulnerability, upgrade all affected Software dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2019-11045, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree

Analyze the terminal output to locate any version of Software in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The mvn dependency:tree command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-170: Improper Null Termination, where the product does not terminate or incorrectly terminates a string or array with a null character or equivalent terminator. In Software, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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.

References

NVD — CVE-2019-11045 NVD
https://nvd.nist.gov/vuln/detail/CVE-2019-11045
bugs.php.net/bug.php WEB
https://bugs.php.net/bug.php?id=78863
lists.debian.org/debian-lts-announce... WEB
https://lists.debian.org/debian-lts-announce/2019/12/msg00034.html
lists.fedoraproject.org/archives/list/packa... WEB
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N7GCOAE6KVHYJ3UQ4KLPLTGSLX6IRVRN
lists.fedoraproject.org/archives/list/packa... WEB
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWRQPYXVG43Q7DXMXH6UVWMKWGUW552F
lists.fedoraproject.org/archives/list/packa... WEB
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/N7GCOAE6KVHYJ3UQ4KLPLTGSLX6IRVRN
lists.fedoraproject.org/archives/list/packa... WEB
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XWRQPYXVG43Q7DXMXH6UVWMKWGUW552F
seclists.org/bugtraq/2020/feb/27 WEB
https://seclists.org/bugtraq/2020/Feb/27
seclists.org/bugtraq/2020/feb/31 WEB
https://seclists.org/bugtraq/2020/Feb/31
seclists.org/bugtraq/2021/jan/3 WEB
https://seclists.org/bugtraq/2021/Jan/3
Software Security Information SECURITY
https://security.netapp.com/advisory/ntap-20200103-0002
usn.ubuntu.com/4239-1 WEB
https://usn.ubuntu.com/4239-1
Software Security Information SECURITY
https://www.debian.org/security/2020/dsa-4626
Software Security Information SECURITY
https://www.debian.org/security/2020/dsa-4628
Software Security Information SECURITY
https://www.tenable.com/security/tns-2021-14
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00036.html

Frequently Asked Questions

What is CVE-2019-11045?
CVE-2019-11045 is a security vulnerability in Software classified as a security vulnerability vulnerability under CWE-170: Improper Null Termination.
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2019-11045?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What is the CVSS score of CVE-2019-11045?
CVE-2019-11045 has a CVSS v3.1 base score of 5.9 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2019-11045?
CVE-2019-11045 is classified under CWE-170: Improper Null Termination (The product does not terminate or incorrectly terminates a string or array with a null character or equivalent terminator.).
How can I check Maven dependencies for CVE-2019-11045?
Run the dependency tree command: 'mvn dependency:tree'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-jv88-p4rw-4m4h",
  "modified" : "2026-08-17T15:30:28Z",
  "published" : "2022-05-24T17:04:52Z",
  "aliases" : [ "CVE-2019-11045" ],
  "details" : "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.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-11045"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.php.net/bug.php?id=78863"
  }, {
    "type" : "WEB",
    "url" : "https://lists.debian.org/debian-lts-announce/2019/12/msg00034.html"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N7GCOAE6KVHYJ3UQ4KLPLTGSLX6IRVRN"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWRQPYXVG43Q7DXMXH6UVWMKWGUW552F"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/N7GCOAE6KVHYJ3UQ4KLPLTGSLX6IRVRN"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XWRQPYXVG43Q7DXMXH6UVWMKWGUW552F"
  }, {
    "type" : "WEB",
    "url" : "https://seclists.org/bugtraq/2020/Feb/27"
  }, {
    "type" : "WEB",
    "url" : "https://seclists.org/bugtraq/2020/Feb/31"
  }, {
    "type" : "WEB",
    "url" : "https://seclists.org/bugtraq/2021/Jan/3"
  }, {
    "type" : "WEB",
    "url" : "https://security.netapp.com/advisory/ntap-20200103-0002"
  }, {
    "type" : "WEB",
    "url" : "https://usn.ubuntu.com/4239-1"
  }, {
    "type" : "WEB",
    "url" : "https://www.debian.org/security/2020/dsa-4626"
  }, {
    "type" : "WEB",
    "url" : "https://www.debian.org/security/2020/dsa-4628"
  }, {
    "type" : "WEB",
    "url" : "https://www.tenable.com/security/tns-2021-14"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00036.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-170", "CWE-74" ],
    "severity" : "MODERATE",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2019-12-23T03:15:00Z"
  }
}