CVE-2020-15237

Timing attack in Shrine

Published Oct 5, 2020 CVSS 3.1 · 5.9 Medium EPSS 1.0% KEV · Not listed
Description
In Shrine before version 3.3.0, when using the `derivation_endpoint` plugin, it's possible for the attacker to use a timing attack to guess the signature of the derivation URL. The problem has been fixed by comparing sent and calculated signature in constant time, using `Rack::Utils.secure_compare`. Users using the `derivation_endpoint` plugin are urged to upgrade to Shrine 3.3.0 or greater. A possible workaround is provided in the linked advisory.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2020-1413 In Shrine before version 3.3.0, when using the `derivation_endpoint` plugin, it's possible for the attacker to use a timing attack to guess the signature of the derivation URL. The problem has been fixed by comparing sent and calculated signature in constant time, using `Rack::Utils.secure_compare`. Users using the `derivation_endpoint` plugin are urged to upgrade to Shrine 3.3.0 or greater. A possible workaround is provided in the linked advisory.
Github GHSA Github GHSA GHSA-5jjv-x4fq-qjwp Possible timing attack in derivation_endpoint
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 4, 2024, 1:08 PM
Reserved
Jun 25, 2020, 12:00 AM
Status
Modified
Published
Oct 5, 2020, 7:15 PM
Modified
Jun 17, 2026, 2:56 AM