HighGHSA-36h5-vrq6-pp34CVE-2025-68703

Jervis's Salt for PBKDF2 derived from password

Published 13 Jan 2026 · Updated 3 Feb 2026

Is your project on an affected net.gleske:jervis?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
<2.2
Fixed in
2.2
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=net.gleske:jervis -DdepVersion=2.2 -DforceVersion=true

Details

Vulnerability

https://github.com/samrocketman/jervis/blob/157d2b63ffa5c4bb1d8ee2254950fd2231de2b05/src/main/groovy/net/gleske/jervis/tools/SecurityIO.groovy#L869-L870

https://github.com/samrocketman/jervis/blob/157d2b63ffa5c4bb1d8ee2254950fd2231de2b05/src/main/groovy/net/gleske/jervis/tools/SecurityIO.groovy#L894-L895

The salt is derived from sha256Sum(passphrase). Two encryption operations with the same password will have the same derived key.

Impact

Pre-computation attacks.

Severity is considered low for internal uses of this library and high for consumers of this library.

Patches

Jervis will generate a random salt for each password and store it alongside the ciphertext.

Upgrade to Jervis 2.2.

Workarounds

None

References

Is GHSA-36h5-vrq6-pp34 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected net.gleske:jervis, and gives you the command that fixes it.

More advisories for net.gleske:jervis

  • HighCVE-2025-68931Jervis's AES CBC Mode is Without Authentication · 13 Jan 2026
  • MediumCVE-2025-68925Jervis Has a JWT Algorithm Confusion Vulnerability · 13 Jan 2026
  • HighCVE-2025-68704Jervis Has Weak Random for Timing Attack Mitigation · 13 Jan 2026
  • HighCVE-2025-68702Jervis Has a SHA-256 Hex String Padding Bug · 13 Jan 2026
  • HighCVE-2025-68701Jervis has Deterministic AES IV Derivation from Passphrase · 13 Jan 2026
  • HighCVE-2025-68698Jervis Has a RSA PKCS#1 Padding Vulnerability · 13 Jan 2026
net.gleske:jervis security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.