{"id":"CVE-2025-68704","aliases":["CVE-2025-68704","GHSA-c9q6-g3hr-8gww"],"related":[],"kind":"vulnerability","state":"published","title":"Jervis has a Weak Random for Timing Attack Mitigation","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Vulnerability\n\nhttps://github.com/samrocketman/jervis/blob/157d2b63ffa5c4bb1d8ee2254950fd2231de2b05/src/main/groovy/net/gleske/jervis/tools/SecurityIO.groovy#L593-L594\n\nUses `java.util.Random()` which is not cryptographically secure.\n\n### Impact\n\nIf an attacker can predict the random delays, they may still be able to perform timing attacks.\n\n### Patches\n\nJervis will use `SecureRandom` for timing randomization.\n\nUpgrade to Jervis 2.2.\n\n### Workarounds\n\nNone\n\n### References\n\n- [OWASP Cryptographic Failures](https://owasp.org/Top10/A02_2021-Cryptographic_Failures/)","format":"markdown","source":"ghsa"},{"lang":"es","text":"Jervis es una biblioteca para scripts del plugin Job DSL y bibliotecas compartidas de pipeline de Jenkins. Antes de la versión 2.2, Jervis utiliza java.util.Random(), que no es criptográficamente seguro para la mitigación de ataques de temporización. Esta vulnerabilidad está corregida en la versión 2.2.","source":"nvd"}],"published":"2026-01-13T14:55:35.000Z","modified":"2026-06-17T09:59:26.170Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":8.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-330"],"affected":[{"ranges":[{"version":"< 2.2","status":"affected"}],"vendor":"samrocketman","product":"jervis","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.2"}],"ecosystem":"Maven","package":"net.gleske:jervis","purl":"pkg:maven/net.gleske/jervis","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.2"}],"vendor":"samrocketman","product":"jervis","cpe":"cpe:2.3:a:samrocketman:jervis:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/samrocketman/jervis/security/advisories/GHSA-c9q6-g3hr-8gww","tags":["patch","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/samrocketman/jervis/commit/c3981ff71de7b0f767dfe7b37a2372cb2a51974a","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68704","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/samrocketman/jervis","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/samrocketman/jervis/blob/157d2b63ffa5c4bb1d8ee2254950fd2231de2b05/src/main/groovy/net/gleske/jervis/tools/SecurityIO.groovy#L593-L594","tags":["web"],"sources":["ghsa"]},{"url":"http://github.com/samrocketman/jervis/commit/c3981ff71de7b0f767dfe7b37a2372cb2a51974a","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-01-13T19:54:07.357Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-68704","url":"https://www.cve.org/CVERecord?id=CVE-2025-68704","licence":"CVE Terms of Use","modified":"2026-01-13T19:54:12.363Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-c9q6-g3hr-8gww","url":"https://github.com/advisories/GHSA-c9q6-g3hr-8gww","licence":"CC-BY-4.0","modified":"2026-02-03T03:11:38.690Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-68704","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68704","licence":"Public domain","modified":"2026-06-17T09:59:26.170Z"}],"updatedAt":"2026-11-25T22:59:10.587Z","epss":{"score":0.00274,"percentile":0.21169,"date":"2026-12-01T12:00:22.000Z"}}