CVE catalog

CVE-2018-16471

ruby-rack: CVE-2018-16471

[CVE catalog]

Severity
Medium · CVSS 6.1CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Published
Source
[NVD] · [CVE record]
EPSS
1.89% · Oct 27, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianruby-racksid3.2.7-1fixed
Debianruby-rackforky3.2.7-1fixed
Debianruby-racktrixie3.1.20-0+deb13u1fixed
Debianruby-racktrixie-security3.1.20-0+deb13u2fixed
Debianruby-rackbookworm2.2.22-0+deb12u1fixed
Debianruby-rackbookworm-security2.2.22-0+deb12u2fixed
Ubunturuby-rack16.041.5.2-4vulnerable
Ubunturuby-rack16.041.6.4-2vulnerable
Ubunturuby-rack16.041.6.4-3vulnerable
Ubunturuby-rack16.041.6.4-3ubuntu0.1fixed
Ubunturuby-rack18.041.6.4-4vulnerable
Ubunturuby-rack18.041.6.4-4ubuntu0.1fixed
Opensuserubygem-rackleap 15.12.0.8-lp151.3.3.1fixed
Suserubygem-rackopenstack cloud 71.6.11-3.3.1fixed
Suserubygem-rackopenstack cloud crowbar 81.6.11-3.3.1fixed
Suserubygem-rackenterprise storage 41.6.11-3.3.1fixed
Ubunturuby-rack16.041.5.2-4vulnerable
Ubunturuby-rack16.041.6.4-2vulnerable
Ubunturuby-rack16.041.6.4-3vulnerable
Ubunturuby-rack16.041.6.4-3ubuntu0.1fixed
Ubunturuby-rack18.041.6.4-4vulnerable
Ubunturuby-rack18.041.6.4-4ubuntu0.1fixed
Suserubygem-racklinux enterprise high availability extension 152.0.8-3.3.1fixed
Suserubygem-racklinux enterprise high availability extension 15 sp12.0.8-3.3.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianruby-racksourcesid1.6.4-6not yet assignedNot reported[913005]
Debianruby-racksourceforky1.6.4-6not yet assignedNot reported[913005]
Debianruby-racksourcetrixie1.6.4-6not yet assignedNot reported[913005]
Debianruby-racksourcebookworm1.6.4-6not yet assignedNot reported[913005]
Ubunturuby-rackdeb16.041.6.4-3ubuntu0.1Not reportedUSN-4089-1Not reported
Ubunturuby-rackdeb18.041.6.4-4ubuntu0.1Not reportedUSN-4089-1Not reported
Opensuserubygem-rackrpmleap 15.12.0.8-lp151.3.3.1Not reportedOPENSUSE-SU-2020:0214-1Not reported
Suserubygem-rackrpmopenstack cloud 71.6.11-3.3.1Not reportedSUSE-SU-2019:1440-1Not reported
Suserubygem-rackrpmopenstack cloud crowbar 81.6.11-3.3.1Not reportedSUSE-SU-2019:1440-1Not reported
Suserubygem-rackrpmenterprise storage 41.6.11-3.3.1Not reportedSUSE-SU-2019:1440-1Not reported
Ubunturuby-rackdeb16.041.6.4-3ubuntu0.1Not reportedUBUNTU-CVE-2018-16471Not reported
Ubunturuby-rackdeb18.041.6.4-4ubuntu0.1Not reportedUBUNTU-CVE-2018-16471Not reported
Suserubygem-rackrpmlinux enterprise high availability extension 152.0.8-3.3.1Not reportedSUSE-SU-2020:0359-1Not reported
Suserubygem-rackrpmlinux enterprise high availability extension 15 sp12.0.8-3.3.1Not reportedSUSE-SU-2020:0359-1Not reported

[Debian bug #913005]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [ruby-rack]Unknown
    Details (4)
    • 2.2.22-0+deb12u1 · all · bookworm

      Fixed · Fixed: 1.6.4-6

      dsa · ruby-rack · debian · bookworm; dsa · ruby-rack · debian · 12

    • 2.2.22-0+deb12u1 · all · bookworm

      Fixed · Fixed: 1.6.4-6

      dsa · ruby-rack · debian · bookworm; dsa · ruby-rack · debian · 12

    • 2.2.22-0+deb12u2 · all · bookworm-security

      Fixed · Fixed: 1.6.4-6

      dsa · ruby-rack · debian · bookworm; dsa · ruby-rack · debian · 12

    • 2.2.22-0+deb12u2 · all · bookworm-security

      Fixed · Fixed: 1.6.4-6

      dsa · ruby-rack · debian · bookworm; dsa · ruby-rack · debian · 12

[Debian 13 (Trixie)]

  • [ruby-rack]Unknown
    Details (5)
    • 3.1.20-0+deb13u1 · all · trixie

      Fixed · Fixed: 1.6.4-6

      dsa · ruby-rack · debian · 13

    • 3.1.20-0+deb13u1 · all · trixie

      Fixed · Fixed: 1.6.4-6

      dsa · ruby-rack · debian · 13

    • 3.1.20-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 1.6.4-6

      dsa · ruby-rack · debian · 13

    • 3.1.20-0+deb13u1 · all · trixie-security · Historical version

      Fixed · Fixed: 1.6.4-6

      dsa · ruby-rack · debian · 13

    • 3.1.20-0+deb13u2 · all · trixie-security

      Fixed · Fixed: 1.6.4-6

      dsa · ruby-rack · debian · 13

Observed:

References