Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | ruby-rack-ssl | 1.3.2-4 | — |
| Debian 13 | ruby-rack-ssl | 1.3.2-4 | — |
| Debian 12 | ruby-rack-ssl | 1.3.2-4 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| RubyGems | rack-ssl | < 1.4.0 | 1.4.0 | GHSA-v3rr-cph9-2g2q |
References
- [oss-security] 20140319 Re: CVE Request: rack-ssl rubygem: XSS in error page mailing-list
- https://github.com/josh/rack-ssl/commit/9d7d7300b907e496db68d89d07fbc2e0df0b487b
- 66314 vdb-entry
- openSUSE-SU-2014:0515 vendor-advisory
- 57466 third-party-advisory