CVE-2017-12871
MEDIUM5.9EPSS 0.08%SimpleSAMLphp Incorrect IV generation for encryption
Published: 5/17/2022Modified: 4/28/2026
Description
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 (2)
- Debian/simplesamlphpfrom 0, < 1.14.15-1
- Packagist/simplesamlphp/simplesamlphp>= 1.14.0, < 1.14.12
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
References (7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2017-12871
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2017-12871
- PATCHhttps://github.com/simplesamlphp/simplesamlphp
- WEBhttps://github.com/FriendsOfPHP/security-advisories/blob/master/simplesamlphp/simplesamlphp/CVE-2017-12871.yaml
- WEBhttps://github.com/simplesamlphp/simplesamlphp/commit/77df6a932d46daa35e364925eb73a175010dc904
- WEBhttps://github.com/simplesamlphp/simplesamlphp/commit/ccf75981187aa88f7165abdb1b1965c0934acda0
- WEBhttps://simplesamlphp.org/security/201703-02