Live threats

All CVEs / Simplesamlphp

CVE-2017-12871Simplesamlphp

Medium 5.9 No auth needed

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Simplesamlphp.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
simplesamlphpsimplesamlphp1.14.0
simplesamlphpsimplesamlphp1.14.1
simplesamlphpsimplesamlphp1.14.2
simplesamlphpsimplesamlphp1.14.3
simplesamlphpsimplesamlphp1.14.4
simplesamlphpsimplesamlphp1.14.5
simplesamlphpsimplesamlphp1.14.6
simplesamlphpsimplesamlphp1.14.7
simplesamlphpsimplesamlphp1.14.8
simplesamlphpsimplesamlphp1.14.9
simplesamlphpsimplesamlphp1.14.10
simplesamlphpsimplesamlphp1.14.11

Official sources

References

Links published by the sources. Open them with care.