VDB
Sign up
CRITICAL9.1

GHSA-r8v4-7vwj-983x

SimpleSAMLphp SAML2 spoof SAML responses

Quick fix

GHSA-r8v4-7vwj-983x — simplesamlphp/saml2: upgrade to the fixed version with the command below.

composer require simplesamlphp/saml2:^1.10.3

Details

The validateSignature method in the SAML2\Utils class in SimpleSAMLphp before 1.14.10 and simplesamlphp/saml2 library before 1.9.1, 1.10.x before 1.10.3, and 2.x before 2.3.3 allows remote attackers to spoof SAML responses or possibly cause a denial of service (memory consumption) by leveraging improper conversion of return values to boolean.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/simplesamlphp/saml2
Introduced in: 1.10Fixed in: 1.10.3
Fixcomposer require simplesamlphp/saml2:^1.10.3
Packagist/simplesamlphp/saml2
Introduced in: 0Fixed in: 1.8.1
Fixcomposer require simplesamlphp/saml2:^1.8.1
Packagist/simplesamlphp/saml2
Introduced in: 1.9.0Fixed in: 1.9.1
Fixcomposer require simplesamlphp/saml2:^1.9.1
Packagist/simplesamlphp/saml2
Introduced in: 2.0Fixed in: 2.3.3
Fixcomposer require simplesamlphp/saml2:^2.3.3

References