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.

Project Subscriptions

Vendors Products
Samrocketman Subscribe
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, 20 Jan 2026 17:15:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:samrocketman:jervis:*:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N'}


Wed, 14 Jan 2026 11:15:00 +0000

Type Values Removed Values Added
First Time appeared Samrocketman
Samrocketman jervis
Vendors & Products Samrocketman
Samrocketman jervis

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 : Analyzed

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

Modified: 2026-01-20T17:13:09.277

Link: CVE-2025-68702

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-01-14T11:08:06Z

Weaknesses