CVE-2018-6521
CRITICAL 9.8CVSS 3.0SimpleSAMLphp Use of insecure connection charset (sqlauth module)
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.
- Published
- 2 Feb 2018
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Also known as
- GHSA-qv5p-6wrc-79wg
- Sources
- NVDJSONOSV GHSA-qv5p-6wrc-79wgJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | simplesamlphp | simplesamlphpcpe:2.3:a:simplesamlphp:simplesamlphp:*:*:*:*:*:*:*:* |
< 1.15.2 | 1.15.2 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| OSV | Packagist | simplesamlphp/simplesamlphp | < 1.15.2 | 1.15.2 |
References
- https://lists.debian.org/debian-lts-announce/2018/02/msg00008.html · Exploit, Mailing List, Third Party Advisory, WEB
- https://simplesamlphp.org/security/201801-03 · Vendor Advisory, WEB
- https://www.debian.org/security/2018/dsa-4127 · Third Party Advisory, WEB
- 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
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 2 Feb 2018)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 13 May 2022)