CVE-2025-68702
Samrocketman Jervis vulnerability
Jervis is a library for Job DSL plugin scripts and shared Jenkins pipeline libraries. Prior to 2.2, Jervis uses padLeft(32, '0') when it should use padLeft(64, '0') because SHA-256 produces 32 bytes which equates to 64 hex characters. This vulnerability is fixed in 2.2.
Affected products
Jervis. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Samrocketman Jervis runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/samrocketman/jervis/security/advisories/GHSA-67rj-pjg6-pq59 · Patch
- github.com/samrocketman/jervis/commit/c3981ff71de7b0f767dfe7b37a2372cb2a51974a · Patch
- github.com/samrocketman/jervis/blob/157d2b63ffa5c4bb1d8ee2254950fd2231de2b05/src/main/groo
- github.com/samrocketman/jervis/commit/c3981ff71de7b0f767dfe7b37a2372cb2a51974a
- nvd.nist.gov/vuln/detail/CVE-2025-68702
- github.com/advisories/GHSA-67rj-pjg6-pq59
- nvd.nist.gov/vuln/detail/CVE-2025-68702
- cve.org/CVERecord?id=CVE-2025-68702
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.