CVE-2017-9735: Jetty server Jetty Vulnerable To Exposure Of Vulnerability

HIGH
Advisory Identifier: GHSA-wfcc-pff6-rgc5
CVSS 7.5
CWE-203 CWE-200
Published
Advisory Summary

CVE-2017-9735 is a HIGH (CVSS 7.5) jetty vulnerable to exposure of vulnerability (CWE-203: Observable Discrepancy) affecting Jetty server libraries in the Maven ecosystem. The issue involves jetty vulnerable to exposure of sensitive information due to observable discrepancy. Remediation is available by upgrading affected packages to version 9.4.6.v20170531, 9.3.20.v20170531, 9.2.22.v20170606.

CVE-2017-9735 at a Glance

CVE Identifier CVE-2017-9735
GHSA Identifier GHSA-wfcc-pff6-rgc5
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-203: Observable Discrepancy
Affected Product Jetty server
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 7.5

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:H/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 High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2017-9735

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.4.6.v20170531
<dependency>
    <groupId>org.eclipse.jetty</groupId>
    <artifactId>jetty-server</artifactId>
    <version>9.4.6.v20170531</version>
</dependency>
org.eclipse.jetty:jetty-server fixed: 9.3.20.v20170531
<dependency>
    <groupId>org.eclipse.jetty</groupId>
    <artifactId>jetty-server</artifactId>
    <version>9.3.20.v20170531</version>
</dependency>
org.eclipse.jetty:jetty-server fixed: 9.2.22.v20170606
<dependency>
    <groupId>org.eclipse.jetty</groupId>
    <artifactId>jetty-server</artifactId>
    <version>9.2.22.v20170606</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-2017-9735, 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.4.6.v20170531), 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-203: Observable Discrepancy, where the product behaves differently or sends different responses under different circumstances in a way that is observable to an unauthorized actor. 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

Jetty through 9.4.x contains a timing channel attack in `util/security/Password.java`, which allows attackers to obtain access by observing elapsed times before rejection of incorrect passwords.

CVE-2017-9735 Affected Jetty server Versions

3 component(s)
Fixed Versions:
9.4.6.v201705319.3.20.v201705319.2.22.v20170606
Product / Package Ecosystem Affected Versions Fixed Version
org.eclipse.jetty:jetty-server
Maven
≥ 9.4.0
< 9.4.6.v20170531
9.4.6.v20170531
org.eclipse.jetty:jetty-server
Maven
≥ 9.3.0
< 9.3.20.v20170531
9.3.20.v20170531
org.eclipse.jetty:jetty-server
Maven
< 9.2.22.v20170606
9.2.22.v20170606

References

NVD — CVE-2017-9735 NVD
https://nvd.nist.gov/vuln/detail/CVE-2017-9735
Jetty server Source Repository REPOSITORY
https://github.com/eclipse/jetty.project/issues/1556
Security Fix Commit FIX COMMIT
https://github.com/eclipse/jetty.project/commit/042f325f1cd6e7891d72c7e668f5947b5457dc02
bugs.debian.org/864631 WEB
https://bugs.debian.org/864631
Jetty server Source Repository REPOSITORY
https://github.com/eclipse/jetty.project
lists.apache.org/thread.html/053d9ce... WEB
https://lists.apache.org/thread.html/053d9ce4d579b02203db18545fee5e33f35f2932885459b74d1e4272@%3Cissues.activemq.apache.org%3E
lists.apache.org/thread.html/36870f6... WEB
https://lists.apache.org/thread.html/36870f6c51f5bc25e6f7bb1fcace0e57e81f1524019b11f466738559@%3Ccommon-dev.hadoop.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/f887a59... WEB
https://lists.apache.org/thread.html/f887a5978f5e4c62b9cfe876336628385cff429e796962649649ec8a@%3Ccommon-issues.hadoop.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/ff8dcfe... WEB
https://lists.apache.org/thread.html/ff8dcfe29377088ab655fda9d585dccd5b1f07fabd94ae84fd60a7f8@%3Ccommits.pulsar.apache.org%3E
lists.debian.org/debian-lts-announce... WEB
https://lists.debian.org/debian-lts-announce/2021/05/msg00016.html
Jetty server Security Information SECURITY
https://web.archive.org/web/20170826163336/http://www.securityfocus.com/bid/99104
Jetty server Security Information SECURITY
https://www.oracle.com//security-alerts/cpujul2021.html
Jetty server Security Information SECURITY
https://www.oracle.com/security-alerts/cpuoct2020.html
Jetty server Security Information SECURITY
https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html

Frequently Asked Questions

What is CVE-2017-9735?
CVE-2017-9735 is a security vulnerability in Jetty server involving Jetty vulnerable to exposure of sensitive information due to observable discrepancy under CWE-203: Observable Discrepancy.
Which Jetty server versions are affected?
Affected versions include releases prior to 9.4.6.v20170531, 9.3.20.v20170531, 9.2.22.v20170606 across affected packages: org.eclipse.jetty:jetty-server.
What version fixes CVE-2017-9735?
Upgrading to 9.4.6.v20170531, 9.3.20.v20170531, 9.2.22.v20170606 (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.4.6.v20170531, 9.3.20.v20170531, 9.2.22.v20170606. Upgrade your dependency to 9.4.6.v20170531, 9.3.20.v20170531, 9.2.22.v20170606 or later.
What is the CVSS score of CVE-2017-9735?
CVE-2017-9735 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2017-9735?
CVE-2017-9735 is classified under CWE-203: Observable Discrepancy (The product behaves differently or sends different responses under different circumstances in a way that is observable to an unauthorized actor.).
How can I check Maven dependencies for CVE-2017-9735?
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-wfcc-pff6-rgc5",
  "modified" : "2023-08-15T20:33:37Z",
  "published" : "2018-10-19T16:15:46Z",
  "aliases" : [ "CVE-2017-9735" ],
  "summary" : "Jetty vulnerable to exposure of sensitive information due to observable discrepancy",
  "details" : "Jetty through 9.4.x contains a timing channel attack in `util/security/Password.java`, which allows attackers to obtain access by observing elapsed times before rejection of incorrect passwords.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.eclipse.jetty:jetty-server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "9.4.0"
      }, {
        "fixed" : "9.4.6.v20170531"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 9.4.5.v20170502"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.eclipse.jetty:jetty-server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "9.3.0"
      }, {
        "fixed" : "9.3.20.v20170531"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 9.3.19.v20170502"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.eclipse.jetty:jetty-server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "9.2.22.v20170606"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 9.2.21.v20170120"
    }
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-9735"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/eclipse/jetty.project/issues/1556"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/eclipse/jetty.project/commit/042f325f1cd6e7891d72c7e668f5947b5457dc02"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.debian.org/864631"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/eclipse/jetty.project"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/053d9ce4d579b02203db18545fee5e33f35f2932885459b74d1e4272@%3Cissues.activemq.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/36870f6c51f5bc25e6f7bb1fcace0e57e81f1524019b11f466738559@%3Ccommon-dev.hadoop.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/f887a5978f5e4c62b9cfe876336628385cff429e796962649649ec8a@%3Ccommon-issues.hadoop.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/ff8dcfe29377088ab655fda9d585dccd5b1f07fabd94ae84fd60a7f8@%3Ccommits.pulsar.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.debian.org/debian-lts-announce/2021/05/msg00016.html"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20170826163336/http://www.securityfocus.com/bid/99104"
  }, {
    "type" : "WEB",
    "url" : "https://www.oracle.com//security-alerts/cpujul2021.html"
  }, {
    "type" : "WEB",
    "url" : "https://www.oracle.com/security-alerts/cpuoct2020.html"
  }, {
    "type" : "WEB",
    "url" : "https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200", "CWE-203" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-16T22:00:10Z",
    "nvd_published_at" : "2017-06-16T21:29:00Z"
  }
}