GitLab backports fix for CVE-2024-45409 to older versions

bypassing SAML - CVE-2024-8312 and CVE-2024-6826