GitHub Advisoryadvisory · RubyGems
GHSA-4whc-pp4x-9pf3 jquery-rails and jquery-ujs subject to Exposure of Sensitive Information
MEDIUM
Official page ↗
- Aliases
- CVE-2015-1840
- Ecosystem
- RubyGems
- Packages
- jquery-rails, jquery-ujs
- Severity
- Moderate
- Weaknesses
- CWE-200
- Reviewed
- 2020-06-16
Affected packages
• RubyGems jquery-rails: < 3.1.3 → fixed in 3.1.3
• RubyGems jquery-rails: >= 4.0.0, < 4.0.4 → fixed in 4.0.4
• RubyGems jquery-ujs: < 1.0.4 → fixed in 1.0.4
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.
Related
Alias · CVE (1)
- CVE-2015-1840 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… vulnerability
Weakness · CWE (1)
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2015-1840 advisory
- https://github.com/advisories/GHSA-4whc-pp4x-9pf3 advisory
- https://github.com/rails/jquery-rails package
- https://github.com/rails/jquery-rails/blob/master/CHANGELOG.md web
- https://github.com/rails/jquery-ujs/blob/master/CHANGELOG.md web
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/jquery-rails/CVE-2015-1840.yml web
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/jquery-ujs/CVE-2015-1840.yml web
- https://groups.google.com/forum/#!topic/ruby-security-ann/XIZPbobuwaY web
- https://groups.google.com/forum/message/raw?msg=rubyonrails-security/XIZPbobuwaY/fqnzzpuOlA4J web
- https://web.archive.org/web/20200228084945/http://www.securityfocus.com/bid/75239 web
- http://lists.fedoraproject.org/pipermail/package-announce/2015-June/160906.html web
- http://lists.fedoraproject.org/pipermail/package-announce/2015-June/161043.html web
- http://lists.opensuse.org/opensuse-updates/2015-07/msg00041.html web
- http://openwall.com/lists/oss-security/2015/06/16/15 web