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.
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-67rj-pjg6-pq59 Jervis Has a SHA-256 Hex String Padding Bug
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Tue, 13 Jan 2026 20:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 13 Jan 2026 19:45:00 +0000

Type Values Removed Values Added
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.
Title Jervis has a SHA-256 Hex String Padding Bug
Weaknesses CWE-327
References
Metrics cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-01-13T19:55:16.378Z

Reserved: 2025-12-23T22:32:51.733Z

Link: CVE-2025-68702

cve-icon Vulnrichment

Updated: 2026-01-13T19:55:13.901Z

cve-icon NVD

Status : Received

Published: 2026-01-13T20:16:07.390

Modified: 2026-01-13T20:16:07.390

Link: CVE-2025-68702

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses