Inadequate Encryption Strength Affecting simplesamlphp/simplesamlphp package, versions >=1.14.0, <1.14.12


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.09% (42nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Inadequate Encryption Strength vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-SIMPLESAMLPHPSIMPLESAMLPHP-6674086
  • published26 Apr 2024
  • disclosed17 May 2022
  • creditChris Czub

Introduced: 17 May 2022

CVE-2017-12871  (opens in a new tab)
CWE-326  (opens in a new tab)

How to fix?

Upgrade simplesamlphp/simplesamlphp to version 1.14.12 or higher.

Overview

simplesamlphp/simplesamlphp is a PHP implementation of a SAML 2.0 service provider and identity provider, also compatible with Shibboleth 1.3 and 2.0.

Affected versions of this package are vulnerable to Inadequate Encryption Strength due to the aesEncrypt method in lib/SimpleSAML/Utils/Crypto.php. An attacker can bypass the encryption protection mechanism by leveraging use of the first 16 bytes of the secret key as the initialization vector (IV).