Bug 1534027 (CVE-2018-1000119) - CVE-2018-1000119 rack-protection: Timing attack in authenticity_token.rb
Summary: CVE-2018-1000119 rack-protection: Timing attack in authenticity_token.rb
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2018-1000119
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1534028 1534029 1554872 1557252 1557253 1557634 1557635 1557636 1557637 1557638 1557639 1557640 1558382 1559343 1559344 1559345 1866282
Blocks: 1551974
TreeView+ depends on / blocked
 
Reported: 2018-01-12 20:49 UTC by Laura Pardo
Modified: 2021-12-14 18:47 UTC (History)
49 users (show)

Fixed In Version: rack-protection 2.0.0.rc3
Clone Of:
Environment:
Last Closed: 2019-06-08 03:37:00 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:1060 0 None None None 2018-04-10 09:11:07 UTC

Description Laura Pardo 2018-01-12 20:49:16 UTC
A flaw was found in rack-protection. Versions prior to 2.0.0.rc3 of the package are vulnerable to Timing Attack due to time-variable comparison of signatures. A malicious user can guess a valid signature one char at a time by considering the time it takes a signature validation to fail.

References:
https://snyk.io/vuln/SNYK-RUBY-SINATRA-20470
https://snyk.io/vuln/SNYK-RUBY-RACKPROTECTION-20395

Patch:
https://github.com/sinatra/sinatra/commit/8aa6c42ef724f93ae309fb7c5668e19ad547eceb

Comment 1 Laura Pardo 2018-01-12 20:50:24 UTC
Created rubygem-rack-protection tracking bugs for this issue:

Affects: epel-7 [bug 1534028]
Affects: fedora-26 [bug 1534029]

Comment 6 Adam Mariš 2018-03-13 13:42:41 UTC
Created pcs tracking bugs for this issue:

Affects: openstack-rdo [bug 1554872]

Comment 18 errata-xmlrpc 2018-04-10 09:10:49 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2018:1060 https://access.redhat.com/errata/RHSA-2018:1060

Comment 19 Andrej Nemec 2018-05-14 12:25:49 UTC
Statement:

This issue affects the versions of rubygem-rack-protection as shipped with Red Hat Satellite 6. Red Hat Product Security has rated this issue as having security impact of Low. A future update may address this issue. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.


Note You need to log in before you can comment on or make changes to this bug.