CVE-2015-1820
rubygem-rest-client: session fixation vulnerability Set-Cookie headers present in an HTTP 30x redirection responses
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA, Ruby Advisory DB. Rated lower by Red Hat (medium).
Description
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| rubygems::GitHub Security Advisory RubyGems | rest-client | 1.8.0 |
| rubygems::Ruby Advisory Database | rest-client | >= 1.8.0 |
| debian 11 | ruby-rest-client | 1.6.7-6 |
| debian 12 | ruby-rest-client | 1.6.7-6 |
| debian 13 | ruby-rest-client | 1.6.7-6 |
| debian 14 | ruby-rest-client | 1.6.7-6 |
| debian 7 | ruby-rest-client | no fix listed |
| echo | ruby-rest-client | 1.6.7-6 |
References
- http://www.openwall.com/lists/oss-security/2015/03/24/3
- http://www.securityfocus.com/bid/73295
- https://access.redhat.com/security/cve/CVE-2015-1820
- https://bugzilla.redhat.com/show_bug.cgi?id=1205291
- https://github.com/rest-client/rest-client
- https://github.com/rest-client/rest-client/issues/369
- https://nvd.nist.gov/vuln/detail/CVE-2015-1820
- https://rubygems.org/gems/rest-client/versions/1.6.1.a