7.2
CWE
440
Advisory Published
Updated

CVE-2022-2668

First published: Thu Aug 04 2022(Updated: )

A flaw was found in keycloak. The vulnerability allows arbitrary Javascript to be uploaded for the SAML protocol mapper even if the UPLOAD_SCRIPTS feature is disabled.

Credit: secalert@redhat.com secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
redhat/keycloak<19.0.2
19.0.2
redhat/rh-sso7-keycloak<0:15.0.8-1.redhat_00001.1.el7
0:15.0.8-1.redhat_00001.1.el7
redhat/rh-sso7-keycloak<0:15.0.8-1.redhat_00001.1.el8
0:15.0.8-1.redhat_00001.1.el8
redhat/rh-sso7-keycloak<0:18.0.3-1.redhat_00001.1.el7
0:18.0.3-1.redhat_00001.1.el7
redhat/rh-sso7-keycloak<0:18.0.3-1.redhat_00001.1.el8
0:18.0.3-1.redhat_00001.1.el8
redhat/rh-sso7<0:1-5.el9
0:1-5.el9
redhat/rh-sso7-javapackages-tools<0:6.0.0-7.el9
0:6.0.0-7.el9
redhat/rh-sso7-keycloak<0:18.0.3-1.redhat_00001.1.el9
0:18.0.3-1.redhat_00001.1.el9
Redhat Keycloak=18.0.0
Redhat Single Sign-on=7.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2022-2668?

    CVE-2022-2668 is a vulnerability found in Keycloak that allows arbitrary Javascript to be uploaded for the SAML protocol mapper, even if the UPLOAD_SCRIPTS feature is disabled.

  • What software is affected by CVE-2022-2668?

    Keycloak versions up to, but excluding, 19.0.2, rh-sso7-keycloak versions up to, but excluding, 0:15.0.8-1.redhat_00001.1.el7, rh-sso7-keycloak versions up to, but excluding, 0:15.0.8-1.redhat_00001.1.el8, rh-sso7-keycloak versions up to, but excluding, 0:18.0.3-1.redhat_00001.1.el7, rh-sso7-keycloak versions up to, but excluding, 0:18.0.3-1.redhat_00001.1.el8, rh-sso7, rh-sso7-javapackages-tools versions up to, but excluding, 0:1-5.el9, and rh-sso7-keycloak versions up to, but excluding, 0:18.0.3-1.redhat_00001.1.el9 are affected by CVE-2022-2668.

  • What is the severity of CVE-2022-2668?

    The severity of CVE-2022-2668 is high with a CVSS score of 7.2.

  • How can I fix CVE-2022-2668?

    To fix CVE-2022-2668, you should update your Keycloak, rh-sso7-keycloak, rh-sso7, rh-sso7-javapackages-tools to versions 19.0.2, 0:15.0.8-1.redhat_00001.1.el7, 0:15.0.8-1.redhat_00001.1.el8, 0:18.0.3-1.redhat_00001.1.el7, 0:18.0.3-1.redhat_00001.1.el8, 0:1-5.el9, and 0:18.0.3-1.redhat_00001.1.el9 respectively, which have the necessary remediation for this vulnerability.

  • What is the Common Weakness Enumeration (CWE) of CVE-2022-2668?

    The Common Weakness Enumeration (CWE) of CVE-2022-2668 is CWE-440.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203