CVE Catalog

CVE-2025-68702

High
Published: Translated: NVD NIST

Summary

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.

Risk Assessment

Incorrect hash padding may lead to errors in identifier generation or data processing inconsistencies, potentially affecting integrity in Jenkins.

Recommendation

Update Jervis library to version 2.2 or later to obtain the fix.

Other vulnerabilities in Jervis

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS