Vulnerability Details : 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.
Vulnerability category: Cross-site request forgery (CSRF)
Products affected by CVE-2018-1000119
- cpe:2.3:a:sinatrarb:rack-protection:*:*:*:*:*:*:*:*
- cpe:2.3:a:sinatrarb:rack-protection:2.0.0:rc1:*:*:*:*:*:*
- cpe:2.3:a:sinatrarb:rack-protection:2.0.0:rc2:*:*:*:*:*:*
- cpe:2.3:a:sinatrarb:rack-protection:2.0.0:rc3:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2018-1000119
0.32%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 52 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2018-1000119
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.3
|
MEDIUM | AV:N/AC:M/Au:N/C:P/I:N/A:N |
8.6
|
2.9
|
NIST | |
5.9
|
MEDIUM | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
2.2
|
3.6
|
NIST |
CWE ids for CVE-2018-1000119
-
The product behaves differently or sends different responses under different circumstances in a way that is observable to an unauthorized actor, which exposes security-relevant information about the state of the product, such as whether a particular operation was successful or not.Assigned by: nvd@nist.gov (Primary)
References for CVE-2018-1000119
-
https://github.com/sinatra/sinatra/commit/8aa6c42ef724f93ae309fb7c5668e19ad547eceb#commitcomment-27964109
Use secure_compare when checking CSRF token · sinatra/sinatra@8aa6c42 · GitHubIssue Tracking;Patch;Third Party Advisory
-
https://access.redhat.com/errata/RHSA-2018:1060
RHSA-2018:1060 - Security Advisory - Red Hat Customer PortalThird Party Advisory
-
https://github.com/sinatra/rack-protection/pull/98
Use secure_compare when checking CSRF token by jeltz · Pull Request #98 · sinatra/rack-protection · GitHubIssue Tracking;Third Party Advisory
-
https://www.debian.org/security/2018/dsa-4247
Debian -- Security Information -- DSA-4247-1 ruby-rack-protection
Jump to