CVE-2022-1274: A flaw was found in Keycloak in the execute-actions-email endpoint
37
Routine
MEDIUM 5.4WATCHLISTUPGRADEUPGRADEDOWNGRADE
CVE-2022-1274 is a medium-severity flaw (CVSS 5.4) affecting keycloak, single sign-on, openshift container platform. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
A flaw was found in Keycloak in the execute-actions-email endpoint. This issue allows arbitrary HTML to be injected into emails sent to Keycloak users and can be misused to perform phishing or other attacks against users.
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official sourceNVD · CVE Program · Report a problem with this page Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-1274?
keycloak: upgrade to 20.0.5; single sign-on: upgrade to 7.6.2; openshift container platform: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2022-1274 being exploited?
CVE-2022-1274 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-1274 affect?
CVE-2022-1274 affects keycloak, single sign-on, openshift container platform. Severity is medium (CVSS 5.4). A flaw was found in Keycloak in the execute-actions-email endpoint. This issue allows arbitrary HTML to be injected into emails sent to Keycloak users and can be misused to perform phishing or other attacks against users.