p PatchFirst

CVE-2018-11627

CVE-2018-11627

CVSS 6.1 · Medium · EPSS 2.1% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

gem list --exact sinatra
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="ruby-sinatra"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

Sinatra before 2.0.2 has XSS via the 400 Bad Request page that occurs upon a params parser exception.

Published
Updated

Fixes in distributions

Stack: system · ruby

Affected products and versions

  • n/a

    Versions
    • n/a: Affected

    No fix published

  • sinatra RubyGems

    Versions
    • 2.0.0
    • 2.0.1
    • 2.0.1.rc1
    Affected ranges
    • ECOSYSTEM: ≥ 2.0.0, < 2.0.2

    Update to 2.0.2

  • ruby-sinatra Ubuntu 20.04 LTS

    Versions
    • 2.0.5-4ubuntu1
    Affected ranges
    • ECOSYSTEM: < 2.0.8.1-1

    Update to 2.0.8.1-1

  • ruby-sinatra Ubuntu 22.04 LTS

    Affected ranges
    • ECOSYSTEM: < 2.0.8.1-2

    Update to 2.0.8.1-2

Original sources

Check your server →