MediumGHSA-v3rr-cph9-2g2qCVE-2014-2538
rack-ssl Cross-site Scripting vulnerability
Published 24 Oct 2017 · Updated 13 Apr 2025
Is your project on an affected rack-ssl?
Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
rack-sslRubyGems
- Affected
- <1.4.0
- Fixed in
- 1.4.0
Update to the fixed version for your release line, for example:
bundle update --conservative rack-ssl # Gemfile: '>= 1.4.0'Details
Cross-site scripting (XSS) vulnerability in lib/rack/ssl.rb in the rack-ssl gem before 1.4.0 for Ruby allows remote attackers to inject arbitrary web script or HTML via a URI, which might not be properly handled by third-party adapters such as JRuby-Rack.
Is GHSA-v3rr-cph9-2g2q in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected rack-ssl, and gives you the command that fixes it.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2014-2538
- Linkgithub.com/josh/rack-ssl/commit/9d7d7300b907e496db68d89d07fbc2e0df0b487b
- Packagegithub.com/josh/rack-ssl
- Linkgithub.com/rubysec/ruby-advisory-db/blob/master/gems/rack-ssl/CVE-2014-2538.yml
- Linkweb.archive.org/web/20140524002455/http://secunia.com/advisories/57466
- Linkweb.archive.org/web/20200228185649/http://www.securityfocus.com/bid/66314
- Linklists.opensuse.org/opensuse-updates/2014-04/msg00032.html
- Linkwww.openwall.com/lists/oss-security/2014/03/19/20
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.