{"answers":{"affected":"2 open source packages ship an affected version, including net.gleske:jervis. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-68702 in the wild and no public exploit code.","fix":"Upgrade net.gleske:jervis to 2.2 or later.","what":"CVE-2025-68702 is a high-severity vulnerability in samrocketman jervis, published on 13 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-68702 and fix it if it is affected.\n\nWhat it is: CVE-2025-68702 is a high-severity vulnerability in samrocketman jervis, published on 13 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-68702 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- net.gleske:jervis (Maven): affected all versions; fixed in 2.2\n- net.gleske:jervis (Maven): affected all versions; fixed in 2.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-68702/ (Markdown: https://insights.sbomify.com/CVE-2025-68702/index.md)","id":"CVE-2025-68702","markdown":"https://insights.sbomify.com/CVE-2025-68702/index.md","name":"CVE-2025-68702","record":{"aliases":["GHSA-67rj-pjg6-pq59"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Jenkins pipeline library","requires_auth":"none","summary":"Incorrect hex padding in SHA-256 hashing may lead to weak cryptographic integrity or collisions in Jenkins pipeline scripts.","user_interaction":"not_required","vuln_class":"weak_cryptography"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"jervis","vendor":"samrocketman"}],"cvss":{"score":8.7,"severity":"high","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-327","name":"Use of a Broken or Risky Cryptographic Algorithm"}],"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Jervis has a SHA-256 Hex String Padding Bug","id":"CVE-2025-68702","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"weak_cryptography","year":"2025"},"n_packages":2,"n_references":2,"next":{"headline":"Jervis has a Salt for PBKDF2 derived from password","id":"CVE-2025-68703"},"packages":[{"ecosystem":"Maven","fixed":["2.2"],"introduced":["0"],"last_affected":[],"package":"net.gleske:jervis","purl":null,"source":"GHSA-67rj-pjg6-pq59"},{"ecosystem":"Maven","fixed":["2.2"],"introduced":["0"],"last_affected":[],"package":"net.gleske:jervis","purl":"pkg:maven/net.gleske/jervis","source":"GHSA-67rj-pjg6-pq59"}],"prev":{"headline":"Jervis has Deterministic AES IV Derivation from Passphrase","id":"CVE-2025-68701"},"products":["jervis"],"published":"2026-01-13","related":[{"cvss_score":8.7,"headline":"Jervis has an RSA PKCS#1 v1.5 Padding Vulnerability","id":"CVE-2025-68698","kev_date_added":null,"published":"2026-01-13"},{"cvss_score":8.7,"headline":"Jervis has Deterministic AES IV Derivation from Passphrase","id":"CVE-2025-68701","kev_date_added":null,"published":"2026-01-13"},{"cvss_score":8.7,"headline":"Jervis has a Salt for PBKDF2 derived from password","id":"CVE-2025-68703","kev_date_added":null,"published":"2026-01-13"},{"cvss_score":8.7,"headline":"Jervis has AES CBC Mode Without Authentication","id":"CVE-2025-68931","kev_date_added":null,"published":"2026-01-13"},{"cvss_score":8.2,"headline":"Jervis has a Weak Random for Timing Attack Mitigation","id":"CVE-2025-68704","kev_date_added":null,"published":"2026-01-13"},{"cvss_score":6.9,"headline":"Jervis has a JWT Algorithm Confusion Vulnerability","id":"CVE-2025-68925","kev_date_added":null,"published":"2026-01-13"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-01-13","vendors":["samrocketman"]},"summary":"Incorrect hex padding in SHA-256 hashing may lead to weak cryptographic integrity or collisions in Jenkins pipeline scripts.","url":"https://insights.sbomify.com/CVE-2025-68702/"}