Security Resilience

CVE-2025-68702

Crypto Weakness in Samrocketman Jervis ≤ 2.2

Published
13 January 2026
Modified
20 January 2026
Patch / advisory
CVSS Score v4 8.7
Click a component to see what it means
Raw vectorCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.0017 7th percentile
Risk Priority 42 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-68702 is a high-severity Use of a Broken or Risky Cryptographic Algorithm (CWE-327) vulnerability in Samrocketman Jervis. Its CVSS base score is 8.7 (High).

Operationally, ranked at the 7th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SC-13 (Cryptographic Protection) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2025-68702 affects Jervis, a library used for Job DSL plugin scripts and shared Jenkins pipeline libraries, in versions prior to 2.2. The vulnerability stems from incorrect padding in hash string handling: the library applies padLeft(32, '0') to SHA-256 outputs, which produce 32 bytes or 64 hexadecimal characters, instead of the required padLeft(64, '0'). This constitutes a cryptographic misuse classified under CWE-327. The issue was published on 2026-01-13 and carries a CVSS v3.1 base score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N), indicating high severity due to integrity impacts.

Any unauthenticated attacker with network access to a vulnerable Jenkins instance using Jervis can exploit this flaw with low complexity and no user interaction required. The padding error likely enables hash truncation or manipulation during validation processes in Job DSL or pipeline scripts, allowing attackers to bypass integrity checks on hashes. Successful exploitation results in high integrity impact (I:H), potentially permitting the injection or alteration of malicious scripts, configurations, or artifacts within Jenkins pipelines, while confidentiality and availability remain unaffected.

The GitHub security advisory (GHSA-67rj-pjg6-pq59) and fixing commit (c3981ff71de7b0f767dfe7b37a2372cb2a51974a) confirm the vulnerability is resolved in Jervis version 2.2 by correcting the padding to padLeft(64, '0'). Security practitioners should upgrade affected Jenkins shared libraries or Job DSL scripts to Jervis 2.2 or later as the primary mitigation, reviewing any custom hash-handling logic in pipelines for similar issues.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

is fixed in 2.2.

CWE(s)

Related Threats

CVEs Like This One

CVE-2025-68698Same product: Samrocketman Jervis
CVE-2025-68701Same product: Samrocketman Jervis
CVE-2025-68931Same product: Samrocketman Jervis
CVE-2025-68704Same product: Samrocketman Jervis
CVE-2025-68925Same product: Samrocketman Jervis
CVE-2025-68703Same product: Samrocketman Jervis
CVE-2026-39944Shared CWE-327
CVE-2024-39745Shared CWE-327
CVE-2026-56454Shared CWE-327
CVE-2023-37464Shared CWE-327

Affected Assets

samrocketman
jervis
≤ 2.2

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

SC-13 requires selection and implementation of specific cryptography types, directly stopping use of broken algorithms.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

blocks

A.8.24 governs the selection of cryptographic algorithms (its `prevents` effect — approved algorithms are named and chosen), but it adds no layer that stops a broken algorithm from being exploited once one is in use; a broken algorithm remains broken regardless of the policy, so the `blocks` question — can the weakness still be exploited — is answered no.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-327, a class-level weakness. Rules are authored against its narrower children: CWE-328, CWE-780, CWE-1240.

References