This CVE exposes a critical API design failure in Spring Security's AES encryption constructors. The two-argument constructor for AES/CBC mode silently defaults to a null initialization vector, stripping CBC mode of its core security property. With a null IV, identical plaintext blocks produce identical ciphertext blocks, enabling pattern detection and chosen-plaintext attacks. The encryption is technically AES, but functionally weak — what you have is AES in name only, despite following what appears to be the framework's intended usage pattern.
The version spread across five major branches spanning years means this pattern has almost certainly proliferated through production applications, tutorials, Stack Overflow answers, and internal codebases you may have forgotten existed. The uncomfortable truth: simply updating your Spring Security dependency does not remediate this. Historical ciphertexts stored in databases, backups, audit logs, inter-service messages, and frozen artifacts (WAR files, Lambda deployments, bundled JARs) remain encrypted with the degraded mode. For applications that have rotated keys or lost original derivation material, even auditing the exposure is impossible.
Detection is non-trivial. You cannot distinguish null-IV ciphertext from properly-randomized IV ciphertext by examining the encrypted bytes alone — both appear as random data. A positive finding requires code archaeology: reviewing version history, examining constructor calls, or checking internal documentation. If you cannot confirm your historical encryption used random IVs, assume the worst.
The disclosure itself creates a temporal risk window. Pre-CVE, an attacker with ciphertext had data of unknown provenance. Post-CVE, they know exactly what they have and how weak it is. This shifts the adversarial calculus — the window between patch publication and full ecosystem remediation is when accumulated historical ciphertexts become most valuable to attackers.
Audit your artifact history, not just your running code. Review frozen WARs, old Lambda deployments, and internal utility JARs bundled across services. Patch the library, but recognize that the patch is necessary and incomplete — the real exposure lives in data already encrypted with the vulnerable pattern.