RESTEasy Vulnerability CVE-2016-6345: Insufficient Randomness in Async Jobs

resteasy3.0 Updated 02 Oct 2025

Summary

07/09/2016
N/A
Yes i
Medium
6.5

CVE-2016-6345: RESTEasy allows remote authenticated users to obtain sensitive information by leveraging "insufficient use of random values" in async jobs. Affects resteasy3.0 versions < 3.0.26-1. Fixed in 3.0.26-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

RESTEasy is a JAX-RS implementation that provides a framework for building RESTful web services in Java. It is widely used in various applications to facilitate the development of APIs. The package is known for its ease of use and integration with Java EE environments. However, it has been identified to have a vulnerability that allows remote authenticated users to access sensitive information due to insufficient randomness in asynchronous job processing.

Vulnerability Detail

The vulnerability CVE-2016-6345 arises from RESTEasy's inadequate use of random values in its asynchronous job handling. This flaw can be exploited by remote authenticated users to gain unauthorized access to sensitive information. The lack of randomness can lead to predictable outcomes, making it easier for attackers to infer or retrieve confidential data. The technical implications include potential data leaks and unauthorized information disclosure, which can severely compromise the integrity and confidentiality of the affected systems.

How To Fix

Minimum fixed version

3.0.26-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade resteasy3.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary measure, you can limit access to the RESTEasy services by implementing stricter authentication and authorization controls. This can help mitigate the risk of unauthorized access until the package is updated. Additionally, consider reviewing and enhancing the randomness used in your application’s asynchronous job processing.

Conclusion

The CVE-2016-6345 vulnerability in RESTEasy poses a significant risk due to insufficient randomness in async job processing, allowing unauthorized access to sensitive information. It is crucial to upgrade to the fixed version to mitigate this risk effectively. Additionally, utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for resteasy3.0 →

Share this vulnerability

FAQ

CVE-2016-6345 is a vulnerability in RESTEasy that allows remote authenticated users to access sensitive information due to insufficient randomness in async job processing.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The vulnerability can lead to unauthorized access to sensitive information, data leaks, and potential breaches of confidentiality.

The CVSS score for CVE-2016-6345 is 6.5, indicating a medium severity level.

If an immediate upgrade is not possible, implement stricter access controls and review your application's randomness in async job processing as a temporary workaround.

Related vulnerabilities

Recent vulnerabilities recorded for resteasy3.0.

How To Fix

Minimum fixed version

3.0.26-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade resteasy3.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback