Keycloak-core: one time passcode (otp) is valid longer than expiration timeseverity
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| unaffected |
|
|||||||||||
| Red Hat | Red Hat Build of Keycloak | unaffected | — | |||||||||
| Red Hat | Red Hat build of Keycloak 24 | affected |
|
|||||||||
| Red Hat | Red Hat build of Keycloak 24 | affected |
|
|||||||||
| Red Hat | Red Hat build of Keycloak 24 | affected |
|
| Package | CPE | Advisory | Released Date |
|---|---|---|---|
| Red Hat Build of Keycloak | |||
| keycloak-core | cpe:/a:redhat:build_keycloak:24 | RHSA-2024:6503 | 2024-09-09T00:00:00Z |
| Red Hat build of Keycloak 24 | |||
| rhbk/keycloak-operator-bundle:24.0.7-4 | cpe:/a:redhat:build_keycloak:24::el9 | RHSA-2024:6502 | 2024-09-09T00:00:00Z |
| rhbk/keycloak-rhel9:24-16 | cpe:/a:redhat:build_keycloak:24::el9 | RHSA-2024:6502 | 2024-09-09T00:00:00Z |
| rhbk/keycloak-rhel9-operator:24-16 | cpe:/a:redhat:build_keycloak:24::el9 | RHSA-2024:6502 | 2024-09-09T00:00:00Z |
No data available yet.
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2024-3171 | A vulnerability was found in Keycloak. Expired OTP codes are still usable when using FreeOTP when the OTP token period is set to 30 seconds (default). Instead of expiring and deemed unusable around 30 seconds in, the tokens are valid for an additional 30 seconds totaling 1 minute. A one time passcode that is valid longer than its expiration time increases the attack window for malicious actors to abuse the system and compromise accounts. Additionally, it increases the attack surface because at any given time, two OTPs are valid. |
Github GHSA |
GHSA-xmmm-jw76-q7vg | Keycloaks's One Time Passcode (OTP) is valid longer than expiration timeSeverity |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.393% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat build Of Keycloak
|
|
| CPEs | cpe:2.3:a:redhat:build_of_keycloak:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Redhat build Of Keycloak
|
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:/a:redhat:build_keycloak:24 |
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | A vulnerability was found in Keycloak. Expired OTP codes are still usable when using FreeOTP when the OTP token period is set to 30 seconds (default). Instead of expiring and deemed unusable around 30 seconds in, the tokens are valid for an additional 30 seconds totaling 1 minute. A one time passcode that is valid longer than its expiration time increases the attack window for malicious actors to abuse the system and compromise accounts. Additionally, it increases the attack surface because at any given time, two OTPs are valid. | |
| Title | Keycloak-core: one time passcode (otp) is valid longer than expiration timeseverity | |
| First Time appeared |
Redhat
Redhat build Keycloak |
|
| Weaknesses | CWE-324 | |
| CPEs | cpe:/a:redhat:build_keycloak:22 cpe:/a:redhat:build_keycloak:24::el9 |
|
| Vendors & Products |
Redhat
Redhat build Keycloak |
|
| References |
| |
| Metrics |
cvssV3_1
|