Use of Insufficiently Random Values Affecting org.mortbay.jetty:cometd package, versions [,6.0.2)[6.1.0pre1,6.1.0pre3)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
14.16% (96th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use of Insufficiently Random Values vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGMORTBAYJETTY-6243611
  • published13 Feb 2024
  • disclosed1 May 2022
  • creditChris Anley

Introduced: 1 May 2022

CVE-2006-6969  (opens in a new tab)
CWE-330  (opens in a new tab)

How to fix?

Upgrade org.mortbay.jetty:cometd to version 6.0.2, 6.1.0pre3 or higher.

Overview

Affected versions of this package are vulnerable to Use of Insufficiently Random Values due to the use of java.util.random for generating session identifiers. An attacker can guess a session identifier through brute force attacks, bypass authentication requirements, and possibly conduct cross-site request forgery attacks.

CVSS Scores

version 3.1