CVE-2025-68704 Jervis has a Weak Random for Timing Attack Mitigation
Jenkins pipeline library uses insecure random numbers for timing attack mitigation, allowing attackers to bypass security controls.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-68704?
CVE-2025-68704 is a high-severity vulnerability in samrocketman jervis, published on 13 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Jervis is a library for Job DSL plugin scripts and shared Jenkins pipeline libraries. Prior to 2.2, Jervis uses java.util.Random() which is not cryptographically secure for timing attack mitigation. This vulnerability is fixed in 2.2.
Weakness: CWE-330
Which versions are affected by CVE-2025-68704?
2 open source packages ship an affected version, including net.gleske:jervis. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
net.gleske:jervis Maven | All versions | 2.2 |
net.gleske:jervis Maven | All versions | 2.2 |
Products include Samrocketman Jervis.
How do I fix CVE-2025-68704?
Upgrade net.gleske:jervis to 2.2 or later.
Is CVE-2025-68704 being exploited?
There is no known exploitation of CVE-2025-68704 in the wild and no public exploit code.
Other vulnerabilities in samrocketman jervis
- CVE-2025-68698 Jervis has an RSA PKCS#1 v1.5 Padding Vulnerability
- CVE-2025-68701 Jervis has Deterministic AES IV Derivation from Passphrase
- CVE-2025-68702 Jervis has a SHA-256 Hex String Padding Bug
- CVE-2025-68703 Jervis has a Salt for PBKDF2 derived from password
- CVE-2025-68931 Jervis has AES CBC Mode Without Authentication
Sources
Also known as GHSA-c9q6-g3hr-8gww.