What’s Vulnerable › Vulnerabilities

CVE-2025-68702: Jervis has a SHA-256 Hex String Padding Bug

Description

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

How to fix

Upgrade to a fixed version: samrocketman jervis 2.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-68702 or the next vulnerability affects your stack