CVE-2018-6521
CRITICAL9.8EPSS 0.58%SimpleSAMLphp Use of insecure connection charset (sqlauth module)
Published: 5/13/2022Modified: 4/28/2026
Description
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.
Affected packages (2)
- Debian/simplesamlphpfrom 0, < 1.15.2-1
- Packagist/simplesamlphp/simplesamlphpfrom 0, < 1.15.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References (7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2018-6521
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2018-6521
- PATCHhttps://github.com/simplesamlphp/simplesamlphp
- WEBhttps://github.com/FriendsOfPHP/security-advisories/blob/master/simplesamlphp/simplesamlphp/CVE-2018-6521.yaml
- WEBhttps://lists.debian.org/debian-lts-announce/2018/02/msg00008.html
- WEBhttps://simplesamlphp.org/security/201801-03
- WEBhttps://www.debian.org/security/2018/dsa-4127