VDB

CVE-2018-16471

CVE-2018-16471 PUBLISHED CVSS 6.099999904632568 MEDIUM

Rack vulnerable to Cross-site Scripting

Reported by hackerone · Published November 13, 2018

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
ruby-rackUbuntu:18.04:LTS1.6.4-4ubuntu0.1
rackrack_project2.0.6, 1.6.11
ruby-rackUbuntu:16.04:LTS1.6.4-3ubuntu0.1

Risk scores

CVSS 3.0
6.099999904632568
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected products

VendorProductVersions
RackRack2.0.6, 1.6.11
RackRack2.0.6, 1.6.11
RubyGemsrack1.6.0, 2.0.0

Timeline

  • Nov 6, 2018 CVE Published
  • Jun 13, 2019 CVE Updated
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 6, 2026 Distribution Patch
  • Mar 6, 2026 Security Advisory (7 in total, the first dated here)
  • Sep 23, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2018-16471
vulnetix vdb fixes CVE-2018-16471

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-16471/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›