ADVISORIES

GitHub Advisory Database

GHSA-ww3w-592j-5qrw

SimpleSAMLphp Incorrect IV generation for encryption

Moderate CVE-2017-12871

Details

The aesEncrypt method in lib/SimpleSAML/Utils/Crypto.php in SimpleSAMLphp 1.14.x through 1.14.11 makes it easier for context-dependent attackers to bypass the encryption protection mechanism by leveraging use of the first 16 bytes of the secret key as the initialization vector (IV).

Affected packages

EcosystemPackageAffected versions
Packagistsimplesamlphp/simplesamlphp
From 1.14.0 before 1.14.12 (fixed in 1.14.12)

References