{"id":"CVE-2025-68698","aliases":["CVE-2025-68698","GHSA-mqw7-c5gg-xq97"],"related":[],"kind":"vulnerability","state":"published","title":"Jervis has an RSA PKCS#1 v1.5 Padding Vulnerability","summary":"Jervis is a library for Job DSL plugin scripts and shared Jenkins pipeline libraries. Prior to 2.2, Jervis uses PKCS1Encoding which is vulnerable to Bleichenbacher padding oracle attacks. Modern systems should use OAEP (Optimal Asymmetric Encryption Padding). 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 PKCS1Encoding which is vulnerable to Bleichenbacher padding oracle attacks. Modern systems should use OAEP (Optimal Asymmetric Encryption Padding). 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#L463-L465\n\nhttps://github.com/samrocketman/jervis/blob/157d2b63ffa5c4bb1d8ee2254950fd2231de2b05/src/main/groovy/net/gleske/jervis/tools/SecurityIO.groovy#L495-L497\n\nUses `PKCS1Encoding` which is vulnerable to Bleichenbacher padding oracle attacks. Modern systems should use OAEP (Optimal Asymmetric Encryption Padding).\n\n### Impact\n\nSeverity is considered low for internal uses of this library but if there's any consumer using these methods directly then this is considered critical.\n\nAn attacker with access to a decryption oracle (e.g., timing differences or error messages) could potentially decrypt ciphertext without knowing the private key.\n\nJervis uses RSA to encrypt AES keys in local-only storage inaccessible from the web.  The data stored is GitHub App authentication tokens which will expire within one hour or less.\n\n### Patches\n\nJervis patch will migrate from `PKCS1Encoding` to `OAEPEncoding`.\n\nUpgrade to Jervis 2.2.\n\n### Workarounds\n\nNone\n\n### References\n\n- [Bleichenbacher's Attack on PKCS#1](https://en.wikipedia.org/wiki/Adaptive_chosen-ciphertext_attack)","format":"markdown","source":"ghsa"},{"lang":"es","text":"Jervis es una biblioteca para scripts del plugin Job DSL y bibliotecas compartidas de pipelines de Jenkins. Antes de la versión 2.2, Jervis utiliza PKCS1Encoding, que es vulnerable a ataques de oráculo de relleno de Bleichenbacher. Los sistemas modernos deberían usar OAEP (Optimal Asymmetric Encryption Padding). Esta vulnerabilidad está corregida en la versión 2.2.","source":"nvd"}],"published":"2026-01-13T14:28:57.000Z","modified":"2026-06-17T09:59:25.480Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},{"scorer":"GitHub","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"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/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-327"],"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-mqw7-c5gg-xq97","tags":["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-68698","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#L463-L465","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/samrocketman/jervis/blob/157d2b63ffa5c4bb1d8ee2254950fd2231de2b05/src/main/groovy/net/gleske/jervis/tools/SecurityIO.groovy#L495-L497","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-01-15T16:36:49.902Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-68698","url":"https://www.cve.org/CVERecord?id=CVE-2025-68698","licence":"CVE Terms of Use","modified":"2026-01-15T16:37:02.420Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mqw7-c5gg-xq97","url":"https://github.com/advisories/GHSA-mqw7-c5gg-xq97","licence":"CC-BY-4.0","modified":"2026-02-03T03:11:54.190Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-68698","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68698","licence":"Public domain","modified":"2026-06-17T09:59:25.480Z"}],"updatedAt":"2026-11-25T22:59:10.585Z","epss":{"score":0.00137,"percentile":0.03295,"date":"2026-12-01T12:00:22.000Z"}}