CVE Vulnerabilities

CVE-2017-12871

Inadequate Encryption Strength

Published: Sep 01, 2017 | Modified: Apr 20, 2025
CVSS 3.x
5.9
MEDIUM
Source:
NVD
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.x
4.3 MEDIUM
AV:N/AC:M/Au:N/C:P/I:N/A:N
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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).

Weakness

The product stores or transmits sensitive data using an encryption scheme that is theoretically sound, but is not strong enough for the level of protection required.

Affected Software

NameVendorStart VersionEnd Version
SimplesamlphpSimplesamlphp1.14.0 (including)1.14.0 (including)
SimplesamlphpSimplesamlphp1.14.1 (including)1.14.1 (including)
SimplesamlphpSimplesamlphp1.14.2 (including)1.14.2 (including)
SimplesamlphpSimplesamlphp1.14.3 (including)1.14.3 (including)
SimplesamlphpSimplesamlphp1.14.4 (including)1.14.4 (including)
SimplesamlphpSimplesamlphp1.14.5 (including)1.14.5 (including)
SimplesamlphpSimplesamlphp1.14.6 (including)1.14.6 (including)
SimplesamlphpSimplesamlphp1.14.7 (including)1.14.7 (including)
SimplesamlphpSimplesamlphp1.14.8 (including)1.14.8 (including)
SimplesamlphpSimplesamlphp1.14.9 (including)1.14.9 (including)
SimplesamlphpSimplesamlphp1.14.10 (including)1.14.10 (including)
SimplesamlphpSimplesamlphp1.14.11 (including)1.14.11 (including)
SimplesamlphpUbuntuesm-apps/xenial*
SimplesamlphpUbuntuupstream*
SimplesamlphpUbuntuxenial*
SimplesamlphpUbuntuzesty*

Potential Mitigations

References