# CVE-2025-68704: Jervis has a Weak Random for Timing Attack Mitigation

- Severity: High 8.2 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 21% of CVEs (2026-12-01)
- Published: 2026-01-13T14:55:35.000Z
- Modified: 2026-06-17T09:59:26.170Z
- Also known as: GHSA-c9q6-g3hr-8gww
- Weaknesses: CWE-330
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- samrocketman jervis: < 2.2; before 2.2
- net.gleske:jervis (Maven): before 2.2

## Every score

- GitHub_M: CVSS:4.0 8.2 High `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- GitHub: CVSS:3.1 5.9 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/samrocketman/jervis/security/advisories/GHSA-c9q6-g3hr-8gww> (patch, vendor-advisory, web)
- <https://github.com/samrocketman/jervis/commit/c3981ff71de7b0f767dfe7b37a2372cb2a51974a> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-68704> (advisory)
- <https://github.com/samrocketman/jervis> (package)
- <https://github.com/samrocketman/jervis/blob/157d2b63ffa5c4bb1d8ee2254950fd2231de2b05/src/main/groovy/net/gleske/jervis/tools/SecurityIO.groovy#L593-L594> (web)
- <http://github.com/samrocketman/jervis/commit/c3981ff71de7b0f767dfe7b37a2372cb2a51974a> (web)

## Sources

- CVE List: [CVE-2025-68704](https://www.cve.org/CVERecord?id=CVE-2025-68704), CVE Terms of Use, modified 2026-01-13
- GitHub Advisory Database: [GHSA-c9q6-g3hr-8gww](https://github.com/advisories/GHSA-c9q6-g3hr-8gww), CC-BY-4.0, modified 2026-02-03
- NVD: [CVE-2025-68704](https://nvd.nist.gov/vuln/detail/CVE-2025-68704), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-68704 · Whole record: https://cve.day/CVE-2025-68704.json · Rebuilt by cve.day 2026-11-25T22:59:10.587Z
