CVE-2017-12871
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).
What to do
Fixed builds are available from Debian, Packagist: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | simplesamlphp | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | simplesamlphp | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | simplesamlphp | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | simplesamlphp | Fix pending | UBUNTU-CVE-2017-12871 | |
| Ubuntu 14.04 | simplesamlphp | Not affected vulnerable_code_not_present | ||
| Debian 14 | simplesamlphp | Fixed | 1.14.15-1 | DEBIAN-CVE-2017-12871 |
| Debian 12 | simplesamlphp | Fixed | 1.14.15-1 | DEBIAN-CVE-2017-12871 |
| Packagist library | simplesamlphp/simplesamlphp | Fixed | 1.14.12 | GHSA-ww3w-592j-5qrw |
References
- https://simplesamlphp.org/security/201703-02
- https://github.com/simplesamlphp/simplesamlphp/commit/77df6a932d46daa35e364925eb73a175010dc904
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.