Advisory

GHSA-688c-3x49-6rqj

Also known as: CVE-2018-1000119

Summary

rack-protection gem timing attack vulnerability when validating CSRF token

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2018-03-07 22:22 UTC
Modified
2024-02-16 07:58 UTC

Affected packages and fixes

rack-protection

RubyGems · All systems

Affected

  • introduced 0, fixed 1.5.5 (ecosystem)

Fixed versions

1.5.5

Fix

The export has no generic command for this ecosystem.

rack-protection

RubyGems · All systems

Affected

  • introduced 2.0.0.beta1, fixed 2.0.0 (ecosystem)

Fixed versions

2.0.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences