Security mailing lists by PureSourceCode

CVE-2018-1000119

MEDIUM 5.9CVSS 3.0

rack-protection gem timing attack vulnerability when validating CSRF token

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.

Published
7 Mar 2018
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-203
Also known as
GHSA-688c-3x49-6rqj
Sources
NVDJSONOSV GHSA-688c-3x49-6rqjJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.0 MEDIUM 5.9 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.0 MEDIUM 5.9 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:P/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD sinatrarb rack-protection
cpe:2.3:a:sinatrarb:rack-protection:*:*:*:*:*:*:*:*
< 1.5.5 1.5.5
NVD sinatrarb rack-protection
cpe:2.3:a:sinatrarb:rack-protection:2.0.0:rc1:*:*:*:*:*:*
= 2.0.0
NVD sinatrarb rack-protection
cpe:2.3:a:sinatrarb:rack-protection:2.0.0:rc2:*:*:*:*:*:*
= 2.0.0
NVD sinatrarb rack-protection
cpe:2.3:a:sinatrarb:rack-protection:2.0.0:rc3:*:*:*:*:*:*
= 2.0.0
OSV RubyGems rack-protection < 1.5.5 1.5.5
OSV RubyGems rack-protection >= 2.0.0.beta1, < 2.0.0 2.0.0

References

History

  • 25 Nov 2026 20:20 UTC · NVD: first stored (published 7 Mar 2018)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 7 Mar 2018)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.