CVE-2006-6969: Jetty server Jetty Uses Predictable Session Identifiers Vulnerability
MODERATECVE-2006-6969 is a MODERATE jetty uses predictable session identifiers vulnerability (CWE-330: Use of Insufficiently Random Values) affecting Jetty server libraries in the Maven ecosystem. The issue involves jetty uses predictable session identifiers. Remediation is available by upgrading affected packages to version 4.2.27, 5.1.12, 6.0.2, 6.1.0pre3.
CVE-2006-6969 at a Glance
How to Fix CVE-2006-6969
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.
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-server</artifactId>
<version>4.2.27</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-server</artifactId>
<version>5.1.12</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-server</artifactId>
<version>6.0.2</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-server</artifactId>
<version>6.1.0pre3</version>
</dependency>
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-2006-6969, 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 4.2.27), 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-330: Use of Insufficiently Random Values, where the product uses insufficiently random numbers or values in a security context that depends on unpredictable numbers. 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
CVE-2006-6969 Affected Jetty server Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.eclipse.jetty:jetty-server
|
Maven |
< 4.2.27
|
4.2.27
|
|
org.eclipse.jetty:jetty-server
|
Maven |
≥ 5.1.0
< 5.1.12
|
5.1.12
|
|
org.eclipse.jetty:jetty-server
|
Maven |
≥ 6.0.0
< 6.0.2
|
6.0.2
|
|
org.eclipse.jetty:jetty-server
|
Maven |
≥ 6.1.0pre1
< 6.1.0pre3
|
6.1.0pre3
|
References
Frequently Asked Questions
What is CVE-2006-6969?
Which Jetty server versions are affected?
What version fixes CVE-2006-6969?
Is jetty-server affected?
What CWE is associated with CVE-2006-6969?
How can I check Maven dependencies for CVE-2006-6969?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-jg2x-r643-w2ch",
"modified" : "2024-02-12T16:20:55Z",
"published" : "2022-05-01T07:43:29Z",
"aliases" : [ "CVE-2006-6969" ],
"summary" : "Jetty Uses Predictable Session Identifiers",
"details" : "Jetty before 4.2.27, 5.1 before 5.1.12, 6.0 before 6.0.2, and 6.1 before 6.1.0pre3 generates predictable session identifiers using java.util.random, which makes it easier for remote attackers to guess a session identifier through brute force attacks, bypass authentication requirements, and possibly conduct cross-site request forgery attacks.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.eclipse.jetty:jetty-server"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.2.27"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.eclipse.jetty:jetty-server"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.1.0"
}, {
"fixed" : "5.1.12"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.eclipse.jetty:jetty-server"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.0.0"
}, {
"fixed" : "6.0.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.eclipse.jetty:jetty-server"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.1.0pre1"
}, {
"fixed" : "6.1.0pre3"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2006-6969"
}, {
"type" : "WEB",
"url" : "https://github.com/jetty-project/codehaus-jetty6/commit/36f81d2e7058b012f6718bc2f1e2786694a8a4a1"
}, {
"type" : "WEB",
"url" : "https://github.com/jetty-project/codehaus-jetty6/commit/b31f606bf8058a38ab6253aa8dc2dfe6a7f83c78"
}, {
"type" : "WEB",
"url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/32240"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/jetty-project/codehaus-jetty6"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20070208112816/http://fisheye.codehaus.org/changelog/jetty/?cs=1274"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20070602184857/http://archives.neohapsis.com/archives/bugtraq/2007-02/0070.html"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20121019131825/http://www.securityfocus.com/archive/1/459164/100/0/threaded"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20200228100052/http://www.securityfocus.com/bid/22405"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-330" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-02-12T16:20:55Z",
"nvd_published_at" : "2007-02-07T11:28:00Z"
}
}