CVE-2015-8314 Devise Gem for Ruby Unauthorized Access Using "Remember Me" Cookie

High 7.5 Published Updated

Attackers can gain unauthorized persistent access to applications using the Devise gem due to improper handling of Remember Me cookies.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2015-8314?

CVE-2015-8314 is a high-severity authentication bypass vulnerability in n/a, published on 12 Dec 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-312

Which versions are affected by CVE-2015-8314?

2 open source packages ship an affected version, including devise. It affects 1 product.

PackageAffectedFixed in
devise RubyGemsAll versions3.5.4
devise RubyGemsAll versions3.5.4

Products include Heartcombo Devise.

How do I fix CVE-2015-8314?

Upgrade devise to 3.5.4 or later.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2015-8314 being exploited?

There is no known exploitation of CVE-2015-8314 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2015-8314, GHSA-746g-3gfp-hfhw.

Is CVE-2015-8314 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free