SecurityContext

CVE-2018-1000119: Sinatra rack-protection - Cross-Site Request Forgery

  • Cve: CVE-2018-1000119
  • Name: Sinatra rack-protection - Cross-Site Request Forgery
  • Description: 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.
  • Impact: Attackers can potentially expose CSRF signatures, leading to session hijacking or unauthorized actions.
  • Remediation: Update to version 1.5.5 or 2.0.0.
  • Vulnerability type: cross_site_request_forgery
  • Vulnerability impact: information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.9
  • Cvss vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.02404
  • Epss percentile: 0.8448
  • Assignee: [email protected]
  • Published at: 2018-03-07T14:29:00Z
  • Age in days: 3184
  • Modified at: 2026-06-17T01:32:28Z
  • Patch available: yes
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-1000119
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-203Observable Discrepancy

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/sinatra/sinatra/commit/8aa6c42ef724f93ae309fb7c5668e19ad547eceb#commitcomment-27964109Issue Tracking, Patch, Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:1060Third Party Advisory
https://github.com/sinatra/rack-protection/pull/98Issue Tracking, Third Party Advisory
https://www.debian.org/security/2018/dsa-4247

Products

ProductAffectedPlatform boundSourcesUrl
sinatrarb:rack-protection= 2.0.0 rc3, = 2.0.0 rc1, = 2.0.0 rc2, < 1.5.5nonvd/v1/products/sinatrarb/rack-protection

Projects

RepositoryLink kindsIndexedUrl
sinatra/sinatracommit, fixyes/v1/repositories/sinatra/sinatra
sinatra/rack-protectionpackage, pullyes/v1/repositories/sinatra/rack-protection

Index

  • Repositories: 15
  • Packages: 1
  • Checked, none or zero: repositories high signal

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts