CVE-2015-8314: High severity devise vulnerability

Published Jan 26, 2023
·
Updated

Devise version before 3.5.4 uses cookies to implement a "Remember me" functionality. However, it generates the same cookie for all devices. If an attacker manages to steal a remember me cookie and the user does not change the password frequently, the cookie can be used to gain access to the application indefinitely.

Other sources

The Devise gem before 3.5.4 for Ruby mishandles Remember Me cookies for sessions, which may allow an adversary to obtain unauthorized persistent application access.

MITRE

Affected Software

2 affected componentsFixes available
rubygems/devise<3.5.4
3.5.4
Heartcombo Devise Ruby<3.5.4

Event History

Jan 26, 2023
Advisory Published
11:54 PM
Dec 12, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What are the security implications of CVE-2015-8314?

CVE-2015-8314 allows attackers to gain unauthorized access by stealing the same 'Remember me' cookie used across all devices.

2

How do I fix CVE-2015-8314?

To fix CVE-2015-8314, upgrade Devise to version 3.5.4 or later where this vulnerability is addressed.

3

What versions of Devise are affected by CVE-2015-8314?

CVE-2015-8314 affects all Devise versions prior to 3.5.4.

4

How does the 'Remember me' feature work in CVE-2015-8314?

In CVE-2015-8314, the 'Remember me' feature generates a static cookie shared across all devices, which is a security risk.

5

Why is it important to patch CVE-2015-8314 quickly?

Patching CVE-2015-8314 is crucial because it mitigates the risk of unauthorized access through exploited static cookies.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203