CVE-2017-12871 json
SimpleSAMLphp Incorrect IV generation for encryption
published 2017-09-01 9 y ago modified 2026-06-17 4 mo ago also GHSA-ww3w-592j-5qrw , EUVD-2022-5649
- cvss
- 5.9
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 42%
- public exploits
- 0
- none known
Summary
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).
Patch / fix
- packagist simplesamlphp/simplesamlphp 1.14.12
- simplesamlphp Debian 14, Debian 12 1.14.15-1
debian advisories DEBIAN-CVE-2017-12871
Exploit prediction
0.49% chance of exploitation in the next 30 days, higher than 42% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
| GitHub | 3.0 | 5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | simplesamlphp/simplesamlphp | >=1.14.0, <1.14.12 |
1.14.12 |
Classification
- Weakness
-
- CWE-326 Inadequate Encryption Strength
References
-
github.com
/simplesamlphp/simplesamlphp/commit/77df6a932d46daa35e364925eb73a175010dc904
web, issue-tracking, patch, third-party-advisory
-
simplesamlphp.org
/security/201703-02
web, issue-tracking, patch, third-party-advisory
-
github.com
/simplesamlphp/simplesamlphp/commit/ccf75981187aa88f7165abdb1b1965c0934acda0
web
-
nvd.nist.gov
/vuln/detail/CVE-2017-12871
advisory
-
github.com
/FriendsOfPHP/security-advisories/blob/master/simplesamlphp/simplesamlphp/CVE-2017-12871.yaml
web
-
github.com
/simplesamlphp/simplesamlphp
package
Sources
- CVE List CVE-2017-12871
- GitHub Advisory GHSA-ww3w-592j-5qrw
- NVD CVE-2017-12871
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.