spring-security-crypto is vulnerable to Use of a Broken or Risky Cryptographic Algorithm
65
Medium Risk
spring-security-crypto AesBytesEncryptor encrypts with AES/CBC and a fixed all-zero IV when constructed with two arguments or a null IV generator. Identical plaintexts then always produce identical ciphertext for the same password and salt. An attacker who can read the ciphertext can correlate equal values and mount dictionary attacks. The patch uses an unpredictable IV so equal plaintexts no longer produce equal ciphertext.
You are affected if you are using a version that falls within the vulnerable range and you use AesBytesEncryptor with a null IV generator and CBC mode.
spring-security-crypto is vulnerable to Use of a Broken or Risky Cryptographic Algorithm in versions 5.7.0 - 7.0.6 and 7.1.0 - 7.1.0.
Upgrade the org.springframework.security:spring-security-crypto library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant