CRITICAL9.8
GHSA-qv5p-6wrc-79wg
SimpleSAMLphp Use of insecure connection charset (sqlauth module)
Quick fix
GHSA-qv5p-6wrc-79wg — simplesamlphp/simplesamlphp: upgrade to the fixed version with the command below.
composer require simplesamlphp/simplesamlphp:^1.15.2Details
The sqlauth module in SimpleSAMLphp before 1.15.2 relies on the MySQL utf8 charset, which truncates queries upon encountering four-byte characters. There might be a scenario in which this allows remote attackers to bypass intended access restrictions.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/simplesamlphp/simplesamlphp
Introduced in:
0Fixed in: 1.15.2Fix
composer require simplesamlphp/simplesamlphp:^1.15.2References
- https://nvd.nist.gov/vuln/detail/CVE-2018-6521[ADVISORY]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/simplesamlphp/simplesamlphp/CVE-2018-6521.yaml[WEB]
- https://github.com/simplesamlphp/simplesamlphp[PACKAGE]
- https://lists.debian.org/debian-lts-announce/2018/02/msg00008.html[WEB]
- https://simplesamlphp.org/security/201801-03[WEB]
- https://www.debian.org/security/2018/dsa-4127[WEB]