
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-68698 is a cryptographic weakness in the Jervis library (a Job DSL plugin and shared Jenkins pipeline library) where RSA encryption uses PKCS#1 v1.5 padding (PKCS1Encoding) instead of the modern OAEP padding scheme, making it susceptible to Bleichenbacher padding oracle attacks. All versions of net.gleske:jervis prior to 2.2 are affected. The vulnerability was disclosed on January 13, 2026, via a GitHub Security Advisory. It carries a CVSS v3.1 score of 7.5 (High) and a CVSS v4.0 score of 8.7 (High) (GitHub Advisory).
The root cause is classified as CWE-327 (Use of a Broken or Risky Cryptographic Algorithm). Specifically, the SecurityIO.groovy class in Jervis uses Bouncy Castle's PKCS1Encoding with RSAEngine for both encryption and decryption of AES keys, as seen at lines 463–465 and 495–497 of the vulnerable source file (GitHub Advisory). PKCS#1 v1.5 RSA padding is vulnerable to Bleichenbacher's 1998 adaptive chosen-ciphertext attack, where an attacker with access to a decryption oracle — exploitable via timing differences or distinct error messages — can iteratively decrypt RSA-encrypted ciphertext without possessing the private key. The attack requires the ability to submit crafted ciphertexts and observe the oracle's responses, making network accessibility a key precondition (GitHub Advisory, GitHub Commit).
Successful exploitation allows an attacker to decrypt RSA-encrypted AES keys stored at rest, potentially exposing the plaintext data they protect — in Jervis's default use case, these are GitHub App authentication tokens stored in local-only storage (GitHub Advisory). The confidentiality impact is rated High, with no integrity or availability impact. For Jervis's internal use, practical risk is mitigated by the short-lived nature of the stored tokens (expiring within one hour), but consumers who directly invoke Jervis's cryptographic methods in other contexts face a critical-severity exposure depending on what data is encrypted (Feedly).
net.gleske:jervis versions prior to 2.2 where the library's RSA decryption methods are exposed or accessible (e.g., via a network-accessible service that wraps Jervis cryptographic operations).rsaEncryptBytes method using PKCS#1 v1.5 padding.CipherMap (GitHub Advisory).InvalidCipherTextException from Bouncy Castle) in rapid succession, which may indicate oracle probing attempts.Upgrade to Jervis version 2.2 or later, which replaces PKCS1Encoding with OAEP padding (OAEPEncoding) for RSA operations and migrates AES encryption from CBC mode to AES-256-GCM authenticated encryption (GitHub Advisory, GitHub Commit). Note that upgrading to 2.2 is a breaking change: existing CipherMap encrypted data will be discarded and new GitHub App tokens will be issued. No workarounds are available for the underlying cryptographic weakness; upgrading is the only remediation. Consumers directly using Jervis's RSA encryption/decryption methods in their own applications should treat this as critical priority and upgrade immediately.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."