2 vulnerabilities classified as CWE-1204. AI Chinese analysis included.
CWE-1204 represents a cryptographic weakness where software fails to generate Initialization Vectors (IVs) that are sufficiently unique or unpredictable for the specific cryptographic primitive in use. This flaw typically enables attackers to exploit patterns in encrypted data, facilitating statistical analysis, plaintext recovery, or chosen-plaintext attacks by correlating multiple ciphertexts encrypted with the same or predictable IVs. Such predictability undermines the confidentiality guarantees of symmetric encryption schemes like AES in CBC mode. To mitigate this risk, developers must ensure IVs are generated using cryptographically secure random number generators or derived from unique nonces as mandated by the algorithm’s specification. Adhering to established cryptographic standards prevents IV reuse and ensures that each encryption operation produces distinct, unpredictable outputs, thereby maintaining data integrity and secrecy against sophisticated cryptanalytic techniques.
EVP_CIPHER_CTX ctx; char key[EVP_MAX_KEY_LENGTH]; char iv[EVP_MAX_IV_LENGTH]; RAND_bytes(key, b); memset(iv,0,EVP_MAX_IV_LENGTH); EVP_EncryptInit(&ctx,EVP_bf_cbc(), key,iv);public class SymmetricCipherTest { public static void main() { byte[] text ="Secret".getBytes(); byte[] iv ={ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 }; KeyGenerator kg = KeyGenerator.getInstance("DES"); kg.init(56); SecretKey key = kg.generateKey(); Cipher cipher = Cipher.getInstance("DES/CBC/PKCS5Padding"); IvParameterSpec ips = new IvParameterSpec(iv); cipher.init(Cipher.ENCRYPT_MODE, key, ips); return cipher.doFinal(inpBytes); } }| CVE ID | Title | CVSS | Severity | Published |
|---|---|---|---|---|
| CVE-2025-0714 | Insecure storage of sensitive information in MobaXTerm <25.0. — MobaXterm | 6.5 | Medium | 2025-02-17 |
| CVE-2023-2747 | Uninitialized IV in Silicon Labs SE FW v2.0.0 through v 2.2.1 for internally stored data — GSDK | 3.1 | Low | 2023-06-15 |
Vulnerabilities classified as CWE-1204 represent 2 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.