CVE-2018-1000119
rack-protection gem timing attack vulnerability when validating CSRF token
Reported by mitre · Published March 7, 2018
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| pcs-snmp | Amazon Linux | 0.9.162-5.amzn2.1.1 |
| rack-protection | sinatrarb | 1.5.5 |
| ruby-rack-protection | Ubuntu:16.04:LTS | 1.5.3-2+deb9u1build0.16.04.1 |
| ruby-rack-protection | Ubuntu:18.04:LTS | 1.5.3-2+deb9u1build0.18.04.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| amazon:2 | pcs-snmp | 0 |
| n/a | n/a | * |
| amazon:2 | pcs | 0 |
| RubyGems | rack-protection | 0, 2.0.0.beta1 |
Timeline
- Mar 7, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 17, 2026 Security Advisory (3 in total, the first dated here)
- Jun 17, 2026 CVE Updated
- Sep 26, 2026 Coalition ESS Score
- Oct 31, 2026 Distribution Patch (2 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-1000119
vulnetix vdb fixes CVE-2018-1000119
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-1000119/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- RHSA-2018:1060 vendor-advisoryx_refsource_REDHAT
- DSA-4247 vendor-advisoryx_refsource_DEBIAN
- x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2018-1000119 advisory