CVE-2019-10247: Jetty server Installation Information Leak Vulnerability

MODERATE
Advisory Identifier: GHSA-xc67-hjx6-cgg6
CVSS 5.3
CWE-213 CWE-200
Published
Advisory Summary

CVE-2019-10247 is a MODERATE (CVSS 5.3) installation information leak vulnerability (CWE-213: Exposure of Sensitive Information Due to Incompatible Policies) affecting Jetty server libraries in the Maven ecosystem. The issue involves installation information leak in eclipse jetty. Remediation is available by upgrading affected packages to version 9.2.28.v20190418, 9.3.27.v20190418, 9.4.17.v20190418.

CVE-2019-10247 at a Glance

CVE Identifier CVE-2019-10247
GHSA Identifier GHSA-xc67-hjx6-cgg6
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-213: Exposure of Sensitive Information Due to Incompatible Policies
Affected Product Jetty server
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 5.3

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

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

How to Fix CVE-2019-10247

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

org.eclipse.jetty:jetty-server fixed: 9.2.28.v20190418
<dependency>
    <groupId>org.eclipse.jetty</groupId>
    <artifactId>jetty-server</artifactId>
    <version>9.2.28.v20190418</version>
</dependency>
org.eclipse.jetty:jetty-server fixed: 9.3.27.v20190418
<dependency>
    <groupId>org.eclipse.jetty</groupId>
    <artifactId>jetty-server</artifactId>
    <version>9.3.27.v20190418</version>
</dependency>
org.eclipse.jetty:jetty-server fixed: 9.4.17.v20190418
<dependency>
    <groupId>org.eclipse.jetty</groupId>
    <artifactId>jetty-server</artifactId>
    <version>9.4.17.v20190418</version>
</dependency>
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 -Dincludes=org.eclipse.jetty

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=org.eclipse.jetty

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

Note: The mvn dependency:tree -Dincludes=org.eclipse.jetty 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-213: Exposure of Sensitive Information Due to Incompatible Policies, where the product's intended functionality exposes information to certain actors in accordance with the developer's security policy, but this information is regarded as sensitive according to the intended security policies of other stakeholders such as the product's administrator, users, or others whose information is being processed. In Jetty server, 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 Eclipse Jetty version 7.x, 8.x, 9.2.27 and older, 9.3.26 and older, and 9.4.16 and older, the server running on any OS and Jetty version combination will reveal the configured fully qualified directory base resource location on the output of the 404 error for not finding a Context that matches the requested path. The default server behavior on jetty-distribution and jetty-home will include at the end of the Handler tree a DefaultHandler, which is responsible for reporting this 404 error, it presents the various configured contexts as HTML for users to click through to. This produced HTML includes output that contains the configured fully qualified directory base resource location for each context.

CVE-2019-10247 Affected Jetty server Versions

3 component(s)
Fixed Versions:
9.2.28.v201904189.3.27.v201904189.4.17.v20190418
Product / Package Ecosystem Affected Versions Fixed Version
org.eclipse.jetty:jetty-server
Maven
≥ 7.0.0
< 9.2.28.v20190418
9.2.28.v20190418
org.eclipse.jetty:jetty-server
Maven
≥ 9.3.0
< 9.3.27.v20190418
9.3.27.v20190418
org.eclipse.jetty:jetty-server
Maven
≥ 9.4.0
< 9.4.17.v20190418
9.4.17.v20190418

References

NVD — CVE-2019-10247 NVD
https://nvd.nist.gov/vuln/detail/CVE-2019-10247
Jetty server Security Information SECURITY
https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html
Jetty server Security Information SECURITY
https://www.oracle.com/security-alerts/cpuoct2020.html
Jetty server Security Information SECURITY
https://www.oracle.com/security-alerts/cpujul2020.html
Jetty server Security Information SECURITY
https://www.oracle.com/security-alerts/cpujan2021.html
Jetty server Security Information SECURITY
https://www.oracle.com/security-alerts/cpujan2020.html
Jetty server Security Information SECURITY
https://www.oracle.com/security-alerts/cpuapr2022.html
Jetty server Security Information SECURITY
https://www.oracle.com/security-alerts/cpuapr2020.html
Jetty server Security Information SECURITY
https://www.oracle.com/security-alerts/cpuApr2021.html
Jetty server Security Information SECURITY
https://www.debian.org/security/2021/dsa-4949
Jetty server Security Information SECURITY
https://security.netapp.com/advisory/ntap-20190509-0003
lists.debian.org/debian-lts-announce... WEB
https://lists.debian.org/debian-lts-announce/2021/05/msg00016.html
lists.apache.org/thread.html/rca3793... WEB
https://lists.apache.org/thread.html/rca37935d661f4689cb4119f1b3b224413b22be161b678e6e6ce0c69b@%3Ccommits.nifi.apache.org%3E
lists.apache.org/thread.html/f9bc3e5... WEB
https://lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc@%3Cissues.drill.apache.org%3E
lists.apache.org/thread.html/bcce5a9... WEB
https://lists.apache.org/thread.html/bcce5a9c532b386c68dab2f6b3ce8b0cc9b950ec551766e76391caa3@%3Ccommits.nifi.apache.org%3E
lists.apache.org/thread.html/ac51944... WEB
https://lists.apache.org/thread.html/ac51944aef91dd5006b8510b0bef337adaccfe962fb90e7af9c22db4@%3Cissues.activemq.apache.org%3E
lists.apache.org/thread.html/519eb0f... WEB
https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f@%3Cdev.drill.apache.org%3E
lists.apache.org/thread.html/053d9ce... WEB
https://lists.apache.org/thread.html/053d9ce4d579b02203db18545fee5e33f35f2932885459b74d1e4272@%3Cissues.activemq.apache.org%3E
bugs.eclipse.org/bugs/show_bug.cgi WEB
https://bugs.eclipse.org/bugs/show_bug.cgi?id=546577

Frequently Asked Questions

What is CVE-2019-10247?
CVE-2019-10247 is a security vulnerability in Jetty server involving Installation information leak in Eclipse Jetty under CWE-213: Exposure of Sensitive Information Due to Incompatible Policies.
Which Jetty server versions are affected?
Affected versions include releases prior to 9.2.28.v20190418, 9.3.27.v20190418, 9.4.17.v20190418 across affected packages: org.eclipse.jetty:jetty-server.
What version fixes CVE-2019-10247?
Upgrading to 9.2.28.v20190418, 9.3.27.v20190418, 9.4.17.v20190418 (or the latest patched release for your respective branch) resolves the vulnerability.
Is jetty-server affected?
Yes, org.eclipse.jetty:jetty-server is affected in releases prior to 9.2.28.v20190418, 9.3.27.v20190418, 9.4.17.v20190418. Upgrade your dependency to 9.2.28.v20190418, 9.3.27.v20190418, 9.4.17.v20190418 or later.
What is the CVSS score of CVE-2019-10247?
CVE-2019-10247 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2019-10247?
CVE-2019-10247 is classified under CWE-213: Exposure of Sensitive Information Due to Incompatible Policies (The product's intended functionality exposes information to certain actors in accordance with the developer's security policy, but this information is regarded as sensitive according to the intended security policies of other stakeholders such as the product's administrator, users, or others whose information is being processed.).
How can I check Maven dependencies for CVE-2019-10247?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.eclipse.jetty'. 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-xc67-hjx6-cgg6",
  "modified" : "2021-04-23T20:19:57Z",
  "published" : "2019-04-23T16:07:12Z",
  "aliases" : [ "CVE-2019-10247" ],
  "summary" : "Installation information leak in Eclipse Jetty",
  "details" : "In Eclipse Jetty version 7.x, 8.x, 9.2.27 and older, 9.3.26 and older, and 9.4.16 and older, the server running on any OS and Jetty version combination will reveal the configured fully qualified directory base resource location on the output of the 404 error for not finding a Context that matches the requested path. The default server behavior on jetty-distribution and jetty-home will include at the end of the Handler tree a DefaultHandler, which is responsible for reporting this 404 error, it presents the various configured contexts as HTML for users to click through to. This produced HTML includes output that contains the configured fully qualified directory base resource location for each context.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.eclipse.jetty:jetty-server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "7.0.0"
      }, {
        "fixed" : "9.2.28.v20190418"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 9.2.27.v20190403"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.eclipse.jetty:jetty-server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "9.3.0"
      }, {
        "fixed" : "9.3.27.v20190418"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 9.3.26.v20190403"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.eclipse.jetty:jetty-server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "9.4.0"
      }, {
        "fixed" : "9.4.17.v20190418"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 9.4.16.v20190411"
    }
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-10247"
  }, {
    "type" : "WEB",
    "url" : "https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html"
  }, {
    "type" : "WEB",
    "url" : "https://www.oracle.com/security-alerts/cpuoct2020.html"
  }, {
    "type" : "WEB",
    "url" : "https://www.oracle.com/security-alerts/cpujul2020.html"
  }, {
    "type" : "WEB",
    "url" : "https://www.oracle.com/security-alerts/cpujan2021.html"
  }, {
    "type" : "WEB",
    "url" : "https://www.oracle.com/security-alerts/cpujan2020.html"
  }, {
    "type" : "WEB",
    "url" : "https://www.oracle.com/security-alerts/cpuapr2022.html"
  }, {
    "type" : "WEB",
    "url" : "https://www.oracle.com/security-alerts/cpuapr2020.html"
  }, {
    "type" : "WEB",
    "url" : "https://www.oracle.com/security-alerts/cpuApr2021.html"
  }, {
    "type" : "WEB",
    "url" : "https://www.debian.org/security/2021/dsa-4949"
  }, {
    "type" : "WEB",
    "url" : "https://security.netapp.com/advisory/ntap-20190509-0003"
  }, {
    "type" : "WEB",
    "url" : "https://lists.debian.org/debian-lts-announce/2021/05/msg00016.html"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/rca37935d661f4689cb4119f1b3b224413b22be161b678e6e6ce0c69b@%3Ccommits.nifi.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc@%3Cissues.drill.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/bcce5a9c532b386c68dab2f6b3ce8b0cc9b950ec551766e76391caa3@%3Ccommits.nifi.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/ac51944aef91dd5006b8510b0bef337adaccfe962fb90e7af9c22db4@%3Cissues.activemq.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f@%3Cdev.drill.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/053d9ce4d579b02203db18545fee5e33f35f2932885459b74d1e4272@%3Cissues.activemq.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.eclipse.org/bugs/show_bug.cgi?id=546577"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200", "CWE-213" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2019-04-23T16:04:31Z",
    "nvd_published_at" : "2019-04-22T20:29:00Z"
  }
}