CVE-2018-1000119
Sinatra rack-protection versions 1.5.4 and 2.0.0.rc3 and earlier contains a timing attack vulnerability in the CSRF token checking that can result in signatures can be exposed. This attack appear to be exploitable via network connectivity to the ruby application. This vulnerability appears to have been fixed in 1.5.5 and 2.0.0.
What to do
Fixed builds are available from Red Hat, RubyGems, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 18.04 | ruby-rack-protection | Fixed | 1.5.3-2+deb9u1build0.18.04.1 | UBUNTU-CVE-2018-1000119 |
| Ubuntu 16.04 | ruby-rack-protection | Fixed | 1.5.3-2+deb9u1build0.16.04.1 | UBUNTU-CVE-2018-1000119 |
| Ubuntu 14.04 | ruby-rack-protection | Fix pending | ||
| Red Hat Enterprise Linux 8 | rubygem-rack-protection | Not affected | ||
| Red Hat Enterprise Linux 7 | pcs | Fixed | 0:0.9.162-5.el7_5.1 | RHSA-2018:1060 |
| Red Hat Enterprise Linux 7 | pcs-snmp | Fixed | 0:0.9.162-5.el7_5.1 | RHSA-2018:1060 |
| Red Hat Enterprise Linux 6 | pcs | Will not fix Will not fix | ||
| RubyGems library | rack-protection | Fixed | 2.0.0 | GHSA-688c-3x49-6rqj |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2018:1060 (vendor-advisory)
- https://www.debian.org/security/2018/dsa-4247 (vendor-advisory)
References
- https://github.com/sinatra/rack-protection/pull/98
- https://access.redhat.com/errata/RHSA-2018:1060
- https://www.debian.org/security/2018/dsa-4247
- https://github.com/sinatra/sinatra/commit/8aa6c42ef724f93ae309fb7c5668e19ad547eceb#commitcomment-27964109
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.