{"id":"GHSA-qv5p-6wrc-79wg","summary":"SimpleSAMLphp Use of insecure connection charset (sqlauth module)","details":"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.","aliases":["CVE-2018-6521"],"modified":"2024-12-07T05:34:31.174939Z","published":"2022-05-13T01:53:07Z","database_specific":{"nvd_published_at":"2018-02-02T01:29:00Z","cwe_ids":[],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2024-04-25T21:37:22Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-6521"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/simplesamlphp/simplesamlphp/CVE-2018-6521.yaml"},{"type":"PACKAGE","url":"https://github.com/simplesamlphp/simplesamlphp"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2018/02/msg00008.html"},{"type":"WEB","url":"https://simplesamlphp.org/security/201801-03"},{"type":"WEB","url":"https://www.debian.org/security/2018/dsa-4127"}],"affected":[{"package":{"name":"simplesamlphp/simplesamlphp","ecosystem":"Packagist","purl":"pkg:composer/simplesamlphp/simplesamlphp"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.15.2"}]}],"versions":["v1.12.0","v1.13.0","v1.13.0-rc1","v1.13.0-rc2","v1.13.1","v1.13.2","v1.14.0","v1.14.0-rc1","v1.14.1","v1.14.10","v1.14.11","v1.14.12","v1.14.13","v1.14.14","v1.14.15","v1.14.16","v1.14.17","v1.14.2","v1.14.3","v1.14.4","v1.14.5","v1.14.6","v1.14.7","v1.14.8","v1.14.9","v1.15.0","v1.15.0-rc1","v1.15.0-rc2","v1.15.0-rc3","v1.15.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-qv5p-6wrc-79wg/GHSA-qv5p-6wrc-79wg.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}