cve.bz

CVE-2017-12159 Insufficient Session Expiration

7.5 highEPSS 2.7%Fix available

High (7.5). EPSS 2.7% estimated probability of exploitation activity in the next 30 days. Fixed in org.keycloak:keycloak-parent 3.4.0.

On this page
It was found that the cookie used for CSRF prevention in Keycloak was not unique to each session. An attacker could use this flaw to gain access to an authenticated user session, leading to possible information disclosure or further attacks.

Severity

CVSS 3.0

7.5 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
2.7% (unchanged from 2.7% a week ago; 2.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 86th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-613 Insufficient Session Expiration deprecated by MITRE see CWE-1463, CWE-1464
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2017-12159 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-12159?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-12159?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2017-12159 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
redhat:single_sign_on7.0
redhat:single_sign_on7.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-7fmw-85qm-h22pMavenorg.keycloak:keycloak-parent<3.4.03.4.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatred_hat_single_sign_on:7::el6rh-sso7-keycloak, rh-sso7-keycloak-server0:2.5.14-1.Final_redhat_1.1.jbcs.el6RHSA-2017:2904
Red Hatred_hat_single_sign_on:7::el7rh-sso7-keycloak, rh-sso7-keycloak-server0:2.5.14-1.Final_redhat_1.1.jbcs.el7RHSA-2017:2905

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Single Sign-On 7.1Fixed 2017-10-17RHSA-2017:2906
Red Hat Single Sign-On 7.1 for RHEL 6rh-sso7-keycloak-0:2.5.14-1.Final_redhat_1.1.jbcs.el6Fixed 2017-10-17RHSA-2017:2904
Red Hat Single Sign-On 7.1 for RHEL 7rh-sso7-keycloak-0:2.5.14-1.Final_redhat_1.1.jbcs.el7Fixed 2017-10-17RHSA-2017:2905
Red Hat Mobile Application Platform 4keycloakNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2017-12159.

References

Check your stackJSON