Skip to content
OpenAdvisories
High · 8.7 CVE-2025-68702 EUVD-2026-2026GHSA-67rj-pjg6-pq59

Jervis has a SHA-256 Hex String Padding Bug

Published Jan 13, 2026 · Updated Jan 13, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
samrocketman jervis < 2.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven net.gleske:jervis < 2.2 2.2 GHSA-67rj-pjg6-pq59

References