Jervis has Deterministic AES IV Derivation from Passphrase
Published 13 Jan 2026 · Updated 3 Feb 2026
Is your project on an affected net.gleske:jervis?
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
mvn versions:use-dep-version -Dincludes=net.gleske:jervis -DdepVersion=2.2 -DforceVersion=trueDetails
Vulnerability
https://github.com/samrocketman/jervis/blob/157d2b63ffa5c4bb1d8ee2254950fd2231de2b05/src/main/groovy/net/gleske/jervis/tools/SecurityIO.groovy#L866-L874
https://github.com/samrocketman/jervis/blob/157d2b63ffa5c4bb1d8ee2254950fd2231de2b05/src/main/groovy/net/gleske/jervis/tools/SecurityIO.groovy#L891-L900
Same passphrase + same plaintext = same ciphertext (IV reuse)
Impact
Severity is considered low for internal uses of this library but if there's any consumer using these methods directly then this is considered high.
Significant reduction in the security of the encryption scheme. Pattern analysis becomes possible.
Patches
Random IV will be generated and prepended to the ciphertext.
Upgrade to Jervis 2.2.
Workarounds
None
Is GHSA-crxp-chh4-9ghp 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-68703Jervis's Salt for PBKDF2 derived from password · 13 Jan 2026
- HighCVE-2025-68702Jervis Has a SHA-256 Hex String Padding Bug · 13 Jan 2026
- HighCVE-2025-68698Jervis Has a RSA PKCS#1 Padding Vulnerability · 13 Jan 2026
References
- Linkgithub.com/samrocketman/jervis/security/advisories/GHSA-crxp-chh4-9ghp
- Advisorynvd.nist.gov/vuln/detail/CVE-2025-68701
- Linkgithub.com/samrocketman/jervis/commit/c3981ff71de7b0f767dfe7b37a2372cb2a51974a
- Packagegithub.com/samrocketman/jervis
- Linkgithub.com/samrocketman/jervis/blob/157d2b63ffa5c4bb1d8ee2254950fd2231de2b05/src/main/groovy/net/gleske/jervis/tools/SecurityIO.groovy#L866-L874
- Linkgithub.com/samrocketman/jervis/blob/157d2b63ffa5c4bb1d8ee2254950fd2231de2b05/src/main/groovy/net/gleske/jervis/tools/SecurityIO.groovy#L891-L900
- Linkgithub.com/samrocketman/jervis/commit/c3981ff71de7b0f767dfe7b37a2372cb2a51974a
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.