Vulnerability advisory
GHSA-4whc-pp4x-9pf3
jquery-rails and jquery-ujs subject to Exposure of Sensitive Information
Also known as CVE-2015-1840
Severity
Severity not reported.
Affected versions
| Affected | Fixed in |
|---|---|
| All versions before 3.1.3 | 3.1.3Advisories → |
4.0.0 to before 4.0.4 | 4.0.4Advisories → |
| Affected | Fixed in |
|---|---|
| All versions before 1.0.4 | 1.0.4Advisories → |
Description
jquery_ujs.js in jquery-rails before 3.1.3 and 4.x before 4.0.4 and rails.js in jquery-ujs before 1.0.4, as used with Ruby on Rails 3.x and 4.x, allow remote attackers to bypass the Same Origin Policy, and trigger transmission of a CSRF token to a different-domain web server, via a leading space character in a URL within an attribute value.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2015-1840 ↗
- Advisorygithub.com/advisories/GHSA-4whc-pp4x-9pf3 ↗
- Packagegithub.com/rails/jquery-rails ↗
- Webgithub.com/rails/jquery-rails/blob/master/CHANGELOG.md ↗
- Webgithub.com/rails/jquery-ujs/blob/master/CHANGELOG.md ↗
- Webgithub.com/rubysec/ruby-advisory-db/blob/master/gems/jquery-rails/CVE-2015-1840.yml ↗
- Webgithub.com/rubysec/ruby-advisory-db/blob/master/gems/jquery-ujs/CVE-2015-1840.yml ↗
- Webgroups.google.com/forum/#!topic/ruby-security-ann/XIZPbobuwaY ↗
- Webgroups.google.com/forum/message/raw?msg=rubyonrails-security/XIZPbobuwaY/fqnzzpuOlA4J ↗
- Webweb.archive.org/web/20200228084945/http://www.securityfocus.com/bid/75239 ↗
- Weblists.fedoraproject.org/pipermail/package-announce/2015-June/160906.html ↗
- Weblists.fedoraproject.org/pipermail/package-announce/2015-June/161043.html ↗
- Weblists.opensuse.org/opensuse-updates/2015-07/msg00041.html ↗
- Webopenwall.com/lists/oss-security/2015/06/16/15 ↗