Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.8
CVE-2015-1820: REST client for Ruby (rest-client) allows session fixation attacks via cookies
CVE-2015-1820 · published 9 years ago
Summary
If you use an outdated version of rest-client in Ruby, a hacker could potentially steal your users' session cookies or hijack their sessions. This could allow them to access your users' accounts without needing a password. Update rest-client to version 1.8.0 or later to fix this issue.
What to do
- Update rest client team rest-client to version 1.8.0.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| rubygems | rest client team | rest-client |
>= 1.6.1.a, < 1.8.0 Fix: upgrade to 1.8.0
|
| – | rest-client_project | rest-client |
<= 1.7.3 cpe:2.3:a:rest-client_project:rest-client:*:*:*:*:*:ruby:*:* |
Original advisory text
REST client for Ruby (aka rest-client) before 1.8.0 allows remote attackers to conduct session fixation attacks or obtain sensitive cookie information by leveraging passage of cookies set in a resp...
REST client for Ruby (aka rest-client) before 1.8.0 allows remote attackers to conduct session fixation attacks or obtain sensitive cookie information by leveraging passage of cookies set in a response to a redirect.
References
- https://nvd.nist.gov/vuln/detail/CVE-2015-1820
- https://github.com/rest-client/rest-client/issues/369
- https://bugzilla.redhat.com/show_bug.cgi?id=1205291
- http://www.openwall.com/lists/oss-security/2015/03/24/3
- https://rubygems.org/gems/rest-client/versions/1.6.1.a
- https://web.archive.org/web/20200228080106/http://www.securityfocus.com/bid/7329...
- https://github.com/advisories/GHSA-3fhf-6939-qg8p
- http://www.securityfocus.com/bid/73295 Third Party Advisory VDB Entry
Internet-facing
3 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically (estimated)
- Gives an attacker full control (estimated)
Type
CWE-384Session Fixation
Timeline
Published9 Aug 2017
Updated29 Oct 2026
First seen6 Mar 2026
Track software like this
Free during beta