Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1nODg4LWcycHAtODJoZs4AAXJT

SimpleSAMLphp saml2 incorrect signature validation

HTTPRedirect.php in the saml2 library in SimpleSAMLphp before 1.15.4 has an incorrect check of return values in the signature validation utilities, allowing an attacker to get invalid signatures accepted as valid by forcing an error during validation. This occurs because of a dependency on PHP functionality that interprets a -1 error code as a true boolean value.

Permalink: https://github.com/advisories/GHSA-g888-g2pp-82hf
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1nODg4LWcycHAtODJoZs4AAXJT
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: about 2 years ago
Updated: 3 months ago


CVSS Score: 8.1
CVSS vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Identifiers: GHSA-g888-g2pp-82hf, CVE-2018-7711
References: Repository: https://github.com/simplesamlphp/saml2
Blast Radius: 20.0

Affected Packages

packagist:simplesamlphp/saml2
Dependent packages: 35
Dependent repositories: 293
Downloads: 11,743,224 total
Affected Version Ranges: >= 3.0, < 3.1.4, >= 2.0, < 2.3.8, < 1.10.6
Fixed in: 3.1.4, 2.3.8, 1.10.6
All affected versions: 0.1.0, 0.3.0, 0.4.0, 0.4.1, 0.4.2, 0.5.0, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.7.0, 0.7.1, 0.8.0, 0.8.1, 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.3.1, 1.3.2, 1.4.0, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.6.0, 1.6.1, 1.7.0, 1.7.1, 1.7.2, 1.8.1, 1.8.2, 1.9.1, 1.9.2, 1.10.1, 1.10.2, 1.10.3, 1.10.4, 1.10.5, 2.0.0, 2.0.1, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.3.5, 2.3.6, 2.3.7, 3.0.0, 3.0.1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