Skip to content
OpenAdvisories
Medium · 5.9 CVE-2017-12871 EUVD-2022-5649GHSA-ww3w-592j-5qrw

SimpleSAMLphp Incorrect IV generation for encryption

Published Sep 1, 2017 · Updated Aug 5, 2024 · Assigned by mitre

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

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 simplesamlphp 1.14.15-1 —
Debian 12 simplesamlphp 1.14.15-1 —
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS simplesamlphp No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist simplesamlphp/simplesamlphp >= 1.14.0, < 1.14.12 1.14.12 GHSA-ww3w-592j-5qrw

References