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?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

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

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.