CVE-2017-12871Simplesamlphp
Medium 5.9 No auth needed
Follow: this CVE · Simplesamlphp · Simplesamlphp We alert you by email or Slack (account required).
- Priority
- 50
- CVSS 3.0
- 5.9
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 35
- Auth required
- No
- Published
- Sep 1, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-326
- Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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
- Apply the vendor's security update for Simplesamlphp.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | simplesamlphp/simplesamlphp |
≥ 1.14.0 < 1.14.12 |
1.14.12 |
composer require "simplesamlphp/simplesamlphp:^1.14.12" |
Per OSV / GitHub Advisories (GHSA-ww3w-592j-5qrw). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| simplesamlphp | simplesamlphp | 1.14.0 |
| simplesamlphp | simplesamlphp | 1.14.1 |
| simplesamlphp | simplesamlphp | 1.14.2 |
| simplesamlphp | simplesamlphp | 1.14.3 |
| simplesamlphp | simplesamlphp | 1.14.4 |
| simplesamlphp | simplesamlphp | 1.14.5 |
| simplesamlphp | simplesamlphp | 1.14.6 |
| simplesamlphp | simplesamlphp | 1.14.7 |
| simplesamlphp | simplesamlphp | 1.14.8 |
| simplesamlphp | simplesamlphp | 1.14.9 |
| simplesamlphp | simplesamlphp | 1.14.10 |
| simplesamlphp | simplesamlphp | 1.14.11 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Issue Tracking Patch Third Party Advisory
- simplesamlphp.org Issue Tracking Patch Third Party Advisory