{"id":"CVE-2025-68925","aliases":["CVE-2025-68925","GHSA-5pq9-5mpr-jj85"],"related":[],"kind":"vulnerability","state":"published","title":"Jervis has a JWT Algorithm Confusion Vulnerability","summary":"Jervis is a library for Job DSL plugin scripts and shared Jenkins pipeline libraries. Prior to 2.2, the code doesn't validate that the JWT header specifies \"alg\":\"RS256\". 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, the code doesn't validate that the JWT header specifies \"alg\":\"RS256\". 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#L244-L249\n\nThe code doesn't validate that the JWT header specifies `\"alg\":\"RS256\"`.\n\n### Impact\n\nDepending on the broader system, this could allow JWT forgery.\n\nInternally this severity is low since JWT is only intended to interface with GitHub.  External users should consider severity moderate.\n\n### Patches\n\nJervis patch will explicitly verify the algorithm in the header matches expectations and further verify the JWT structure.\n\nUpgrade to Jervis 2.2.\n\n### Workarounds\n\nExternal users should consider using an alternate JWT library or upgrade.\n\n### References\n\n- [RFC 7518: JSON Web Algorithms](https://datatracker.ietf.org/doc/html/rfc7518)","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 2.2, el código no valida que el encabezado JWT especifique 'alg':'RS256'. Esta vulnerabilidad se corrige en 2.2.","source":"nvd"}],"published":"2026-01-13T14:56:04.000Z","modified":"2026-06-17T09:59:50.007Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","score":6.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-347"],"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-5pq9-5mpr-jj85","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-68925","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#L244-L249","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":"yes","technicalImpact":"partial","date":"2026-01-13T19:53:43.141Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-68925","url":"https://www.cve.org/CVERecord?id=CVE-2025-68925","licence":"CVE Terms of Use","modified":"2026-01-13T19:53:48.021Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-5pq9-5mpr-jj85","url":"https://github.com/advisories/GHSA-5pq9-5mpr-jj85","licence":"CC-BY-4.0","modified":"2026-02-03T03:11:37.438Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-68925","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68925","licence":"Public domain","modified":"2026-06-17T09:59:50.007Z"}],"updatedAt":"2026-11-25T22:59:10.587Z","epss":{"score":0.00153,"percentile":0.04696,"date":"2026-12-01T12:00:22.000Z"}}