Advisory

GHSA-5r2p-j47h-mhpg

Also known as: CVE-2018-16471

Summary

Rack vulnerable to Cross-site Scripting

Details

There is a possible XSS vulnerability in Rack before 2.0.6 and 1.6.11. Carefully crafted requests can impact the data returned by the scheme method on Rack::Request. Applications that expect the scheme to be limited to 'http' or 'https' and do not escape the return value could be vulnerable to an XSS attack. Note that applications using the normal escaping mechanisms provided by Rails may not impacted, but applications that bypass the escaping mechanisms, or do not use them may be vulnerable.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2018-11-15 15:59 UTC
Modified
2024-02-18 05:22 UTC

Affected packages and fixes

rack

RubyGems · All systems

Affected

  • introduced 2.0.0, fixed 2.0.6 (ecosystem)

Fixed versions

2.0.6

Fix

The export has no generic command for this ecosystem.

rack

RubyGems · All systems

Affected

  • introduced 0, fixed 1.6.11 (ecosystem)

Fixed versions

1.6.11

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences